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(
|
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'
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue