mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-26 08:20:18 +00:00
run_guest.py: Fix usage without -m or -c
Closes: #75 Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
d525979fb7
commit
e833e3c052
1 changed files with 2 additions and 2 deletions
|
@ -7,8 +7,8 @@ import argparse, pathlib
|
|||
|
||||
parser = argparse.ArgumentParser(description='Run a Mach-O payload under the hypervisor')
|
||||
parser.add_argument('-s', '--symbols', type=pathlib.Path)
|
||||
parser.add_argument('-m', '--script', type=pathlib.Path, action='append')
|
||||
parser.add_argument('-c', '--command', action="append")
|
||||
parser.add_argument('-m', '--script', type=pathlib.Path, action='append', default=[])
|
||||
parser.add_argument('-c', '--command', action="append", default=[])
|
||||
parser.add_argument('-S', '--shell', action="store_true")
|
||||
parser.add_argument('payload', type=pathlib.Path)
|
||||
parser.add_argument('boot_args', default=[], nargs="*")
|
||||
|
|
Loading…
Reference in a new issue