From 630d63a555b28995d783a00cb843b6b84af0ef24 Mon Sep 17 00:00:00 2001 From: Jeremy Saklad Date: Sun, 11 Jul 2021 13:07:27 -0500 Subject: [PATCH] Remove arguments from verbosity flag '-v' and '--verbose' no longer accept an argument, optional or otherwise. Instead, they simply act as a flag. This dramatically simplifies the help text and implementation of the flags. --- Bone Market Solver.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Bone Market Solver.py b/Bone Market Solver.py index 432a629..51f0fc7 100644 --- a/Bone Market Solver.py +++ b/Bone Market Solver.py @@ -2458,10 +2458,8 @@ def main(): parser.add_argument( "-v", "--verbose", - nargs='?', - const=True, + action='store_true', default=False, - type=bool, help="whether the solver should output search progress rather than showing intermediate solutions", dest='verbose' )