Skip to content

Commit 956969a

Browse files
authored
Merge pull request lightspeed-core#507 from tisnik/lcore-643-dont-store-none-value-in-boolean-cli-option
LCORE-643: don't store None value in boolean CLI option
2 parents 8565f47 + d0182a1 commit 956969a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/lightspeed_stack.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ def create_argument_parser() -> ArgumentParser:
3131
dest="verbose",
3232
help="make it verbose",
3333
action="store_true",
34-
default=None,
34+
default=False,
3535
)
3636
parser.add_argument(
3737
"-d",
3838
"--dump-configuration",
3939
dest="dump_configuration",
4040
help="dump actual configuration into JSON file and quit",
4141
action="store_true",
42-
default=None,
42+
default=False,
4343
)
4444
parser.add_argument(
4545
"-c",

0 commit comments

Comments
 (0)