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.
This commit is contained in:
parent
12773d479e
commit
630d63a555
@ -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'
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user