From a074b44b87a95abdb169bb5401a62736c05df895 Mon Sep 17 00:00:00 2001 From: Jeremy Saklad Date: Mon, 11 Apr 2022 14:59:16 -0500 Subject: [PATCH] Fix regression in help output Argument parsing seems to intermittently choke on --help if a default value for verbosity is not explicitly supplied. --- bonemarketsolver/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bonemarketsolver/__main__.py b/bonemarketsolver/__main__.py index 039391e..e7f7689 100644 --- a/bonemarketsolver/__main__.py +++ b/bonemarketsolver/__main__.py @@ -117,6 +117,7 @@ solver_options = parser.add_argument_group( solver_options.add_argument( "-v", "--verbose", action=argparse.BooleanOptionalAction, + default=False, help="whether the solver should output search progress rather than showing intermediate solutions", dest='verbose' )