From 21da9daf5a0c584a7406474f6f8cb763bd4c2c86 Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Mon, 28 May 2018 18:38:46 +0100 Subject: [sosreport] make --debug a boolean Debugging is either on or off: make the argument match the option. Signed-off-by: Bryn M. Reeves --- sos/sosreport.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sos/sosreport.py b/sos/sosreport.py index b65080ec..672030aa 100644 --- a/sos/sosreport.py +++ b/sos/sosreport.py @@ -237,8 +237,7 @@ def _parse_args(args): parser.add_argument("--config-file", action="store", dest="config_file", help="specify alternate configuration file") - parser.add_argument("--debug", action="count", - dest="debug", + parser.add_argument("--debug", action="store_true", dest="debug", help="enable interactive debugging using the " "python debugger") parser.add_argument("--experimental", action="store_true", -- cgit