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