Remove nargs=1 for --debug-flag
Otherwisse we get [['foo'], ['bar']] from argparse...
This commit is contained in:
parent
20b17f3fb1
commit
c47da15bb1
@ -116,7 +116,7 @@ def get_argparser():
|
||||
nargs=1, action='append')
|
||||
debug.add_argument('--debug-flag', type=debug_flag_error, default=[],
|
||||
help="Pass name of debugging feature to be turned on.",
|
||||
nargs=1, action='append', dest='debug_flags')
|
||||
action='append', dest='debug_flags')
|
||||
parser.add_argument('command', nargs='*', help="Commands to execute on "
|
||||
"startup.", metavar=':command')
|
||||
# URLs will actually be in command
|
||||
|
Loading…
Reference in New Issue
Block a user