allow --help to be run boardless
This commit is contained in:
parent
65f0a3e109
commit
2572c32afe
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ def main( # pylint: disable=too-many-locals
|
|||
update_checker.update_check("circup", version)
|
||||
|
||||
# stop early if the command is boardless
|
||||
if ctx.invoked_subcommand in BOARDLESS_COMMANDS:
|
||||
if ctx.invoked_subcommand in BOARDLESS_COMMANDS or "--help" in sys.argv:
|
||||
return
|
||||
|
||||
ctx.obj["DEVICE_PATH"] = device_path
|
||||
|
|
|
|||
Loading…
Reference in a new issue