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:
Jeremy Saklad 2021-07-11 13:07:27 -05:00
parent 12773d479e
commit 630d63a555
Signed by: Jeremy Saklad
GPG Key ID: 9CA2149583EDBF84
1 changed files with 1 additions and 3 deletions

View File

@ -2458,10 +2458,8 @@ def main():
parser.add_argument( parser.add_argument(
"-v", "--verbose", "-v", "--verbose",
nargs='?', action='store_true',
const=True,
default=False, default=False,
type=bool,
help="whether the solver should output search progress rather than showing intermediate solutions", help="whether the solver should output search progress rather than showing intermediate solutions",
dest='verbose' dest='verbose'
) )