Do hard exit on invalid args
This commit is contained in:
parent
0200a23276
commit
44e418fcb9
@ -41,6 +41,8 @@ def cli() -> None:
|
|||||||
route(args)
|
route(args)
|
||||||
else:
|
else:
|
||||||
program.print_help()
|
program.print_help()
|
||||||
|
else:
|
||||||
|
hard_exit(2)
|
||||||
|
|
||||||
|
|
||||||
def route(args : Args) -> None:
|
def route(args : Args) -> None:
|
||||||
|
Loading…
Reference in New Issue
Block a user