From 44e418fcb9af73dff9c846345c675867512f5e84 Mon Sep 17 00:00:00 2001 From: henryruhs Date: Tue, 15 Oct 2024 10:31:10 +0200 Subject: [PATCH] Do hard exit on invalid args --- facefusion/core.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/facefusion/core.py b/facefusion/core.py index f0f7dfe7..30670a81 100755 --- a/facefusion/core.py +++ b/facefusion/core.py @@ -41,6 +41,8 @@ def cli() -> None: route(args) else: program.print_help() + else: + hard_exit(2) def route(args : Args) -> None: