From bb295cb83a21e104fd39e05b627403d170c2c445 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sat, 3 Apr 2021 11:25:34 +0200 Subject: Fixes #149 as well as --help. This will be added in the next patch release. --- examples/guided.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'examples/guided.py') diff --git a/examples/guided.py b/examples/guided.py index 71e1e01d..723eed5b 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -19,6 +19,9 @@ def sig_handler(sig, frame): original_sigint_handler = signal.getsignal(signal.SIGINT) signal.signal(signal.SIGINT, sig_handler) +if archinstall.arguments.get('help'): + print("See `man archinstall` for help.") + exit(0) def ask_user_questions(): """ -- cgit v1.2.3-70-g09d2