From 4cf9e4f00820d31cc787b3dabbfc3bf09bb349df Mon Sep 17 00:00:00 2001 From: Jeremy Saklad Date: Sat, 14 Aug 2021 14:08:38 -0500 Subject: [PATCH] Add --no-verbose option The action for "--verbose" has been changed to BooleanOptionalAction, which adds a negative version that may be useful for overriding configuration files. --- bonemarketsolver/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bonemarketsolver/__main__.py b/bonemarketsolver/__main__.py index 452a1c4..d3438ca 100644 --- a/bonemarketsolver/__main__.py +++ b/bonemarketsolver/__main__.py @@ -105,7 +105,7 @@ solver_options = parser.add_argument_group( solver_options.add_argument( "-v", "--verbose", - action='store_true', + action=argparse.BooleanOptionalAction, default=False, help="whether the solver should output search progress rather than showing intermediate solutions", dest='verbose'