Fix regression in help output
Argument parsing seems to intermittently choke on --help if a default value for verbosity is not explicitly supplied.
This commit is contained in:
parent
0f254d837d
commit
a074b44b87
|
@ -117,6 +117,7 @@ solver_options = parser.add_argument_group(
|
||||||
solver_options.add_argument(
|
solver_options.add_argument(
|
||||||
"-v", "--verbose",
|
"-v", "--verbose",
|
||||||
action=argparse.BooleanOptionalAction,
|
action=argparse.BooleanOptionalAction,
|
||||||
|
default=False,
|
||||||
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