diff options
author | Simon Glass <sjg@chromium.org> | 2022-01-22 05:07:29 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-02-08 23:07:59 -0500 |
commit | 433fa549e138a06085fe3a9a0ac4924bb1804687 (patch) | |
tree | 07b0a52d4688e94d104d848e324d9f12e1215bde /tools/buildman/cmdline.py | |
parent | 1d0f30e936d2fabbbaa34c3904369252d54a56cc (diff) |
buildman: Add a flag to control the traceback
At present the full horror of the Python traceback is shown by default. It
is normally only useful for debugging. Turn it off by default and add a
--debug flag to enable it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/cmdline.py')
-rw-r--r-- | tools/buildman/cmdline.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/buildman/cmdline.py b/tools/buildman/cmdline.py index 274b5ac3f45..092a82f4e9c 100644 --- a/tools/buildman/cmdline.py +++ b/tools/buildman/cmdline.py @@ -32,6 +32,8 @@ def ParseArgs(): help='Show detailed size delta for each board in the -S summary') parser.add_option('-D', '--config-only', action='store_true', default=False, help="Don't build, just configure each commit") + parser.add_option('--debug', action='store_true', + help='Enabling debugging (provides a full traceback on error)') parser.add_option('-e', '--show_errors', action='store_true', default=False, help='Show errors and warnings') parser.add_option('-E', '--warnings-as-errors', action='store_true', |