Add default to --debug-flag
This commit is contained in:
parent
dcf8f29a67
commit
f31aead992
@ -114,7 +114,7 @@ def get_argparser():
|
|||||||
action='append')
|
action='append')
|
||||||
debug.add_argument('--qt-flag', help="Pass an argument to Qt as flag.",
|
debug.add_argument('--qt-flag', help="Pass an argument to Qt as flag.",
|
||||||
nargs=1, action='append')
|
nargs=1, action='append')
|
||||||
debug.add_argument('--debug-flag', type=debug_flag_error,
|
debug.add_argument('--debug-flag', type=debug_flag_error, default=[],
|
||||||
help="Pass name of debugging feature to be turned on.",
|
help="Pass name of debugging feature to be turned on.",
|
||||||
nargs=1, action='append', dest='debug_flags')
|
nargs=1, action='append', dest='debug_flags')
|
||||||
parser.add_argument('command', nargs='*', help="Commands to execute on "
|
parser.add_argument('command', nargs='*', help="Commands to execute on "
|
||||||
|
Loading…
Reference in New Issue
Block a user