Commit 07643887 authored by Luke Macken's avatar Luke Macken

Merge pull request #5 from ralphbean/develop

The filename argument to the pyrasite cli is mandatory.
parents a3addf10 da274f37
...@@ -27,7 +27,7 @@ def main(): ...@@ -27,7 +27,7 @@ def main():
epilog="For updates, visit https://github.com/lmacken/pyrasite" epilog="For updates, visit https://github.com/lmacken/pyrasite"
) )
parser.add_argument('pid', help="The ID of the process to inject code into") parser.add_argument('pid', help="The ID of the process to inject code into")
parser.add_argument('filename', default=None, nargs='?', parser.add_argument('filename',
help="The second argument must be a filename") help="The second argument must be a filename")
parser.add_argument('--gdb-prefix', dest='gdb_prefix', parser.add_argument('--gdb-prefix', dest='gdb_prefix',
help='GDB prefix (if specified during installation)', help='GDB prefix (if specified during installation)',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment