Do hard exit on invalid args

This commit is contained in:
henryruhs 2024-10-15 10:31:10 +02:00
parent 0200a23276
commit 44e418fcb9

View File

@ -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: