From d0182a1ad785fb2166f939c793b409cae0fe1b6e Mon Sep 17 00:00:00 2001 From: Pavel Tisnovsky Date: Sun, 7 Sep 2025 13:33:37 +0200 Subject: [PATCH] LCORE-643: don't store None value in boolean CLI option --- src/lightspeed_stack.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lightspeed_stack.py b/src/lightspeed_stack.py index 5edd6989..d93bcfd8 100644 --- a/src/lightspeed_stack.py +++ b/src/lightspeed_stack.py @@ -31,7 +31,7 @@ def create_argument_parser() -> ArgumentParser: dest="verbose", help="make it verbose", action="store_true", - default=None, + default=False, ) parser.add_argument( "-d", @@ -39,7 +39,7 @@ def create_argument_parser() -> ArgumentParser: dest="dump_configuration", help="dump actual configuration into JSON file and quit", action="store_true", - default=None, + default=False, ) parser.add_argument( "-c",