Add system information to traceback, add a new --debug-info command

This commit is contained in:
Michael Lazar
2019-03-03 19:37:13 -05:00
parent f626f117a5
commit 70d82eafee
2 changed files with 45 additions and 25 deletions

View File

@@ -84,6 +84,9 @@ def build_parser():
parser.add_argument(
'--no-flash', dest='flash', action='store_const', const=False,
help='Disable screen flashing')
parser.add_argument(
'--debug-info', dest='debug_info', action='store_const', const=True,
help='Show system and environment information and exit')
return parser