Remove old --pdb-postmortem and --debug-exit flags
This commit is contained in:
parent
c0ac1bd79a
commit
dcf8f29a67
@ -103,10 +103,6 @@ def get_argparser():
|
|||||||
help="Silently remove unknown config options.")
|
help="Silently remove unknown config options.")
|
||||||
debug.add_argument('--nowindow', action='store_true', help="Don't show "
|
debug.add_argument('--nowindow', action='store_true', help="Don't show "
|
||||||
"the main window.")
|
"the main window.")
|
||||||
debug.add_argument('--debug-exit', help="Turn on debugging of late exit.",
|
|
||||||
action='store_true')
|
|
||||||
debug.add_argument('--pdb-postmortem', action='store_true',
|
|
||||||
help="Drop into pdb on exceptions.")
|
|
||||||
debug.add_argument('--temp-basedir', action='store_true', help="Use a "
|
debug.add_argument('--temp-basedir', action='store_true', help="Use a "
|
||||||
"temporary basedir.")
|
"temporary basedir.")
|
||||||
debug.add_argument('--no-err-windows', action='store_true', help="Don't "
|
debug.add_argument('--no-err-windows', action='store_true', help="Don't "
|
||||||
@ -152,8 +148,8 @@ def debug_flag_error(flag):
|
|||||||
"""Validate flags passed to --debug-flag.
|
"""Validate flags passed to --debug-flag.
|
||||||
|
|
||||||
Available flags:
|
Available flags:
|
||||||
debug-exit
|
debug-exit: Turn on debugging of late exit.
|
||||||
pdb-postmortem
|
pdb-postmortem: Drop into pdb on exceptions.
|
||||||
"""
|
"""
|
||||||
valid_flags = ['debug-exit', 'pdb-postmortem']
|
valid_flags = ['debug-exit', 'pdb-postmortem']
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user