Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/guided.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-04-03 11:25:34 +0200
committerAnton Hvornum <anton@hvornum.se>2021-04-03 11:25:34 +0200
commitbb295cb83a21e104fd39e05b627403d170c2c445 (patch)
tree884a10084e5d32d2cb421234674a32ade2e404a0 /examples/guided.py
parent428bf168684c990a07dde8f71e062d76a3638efc (diff)
Fixes #149 as well as --help. This will be added in the next patch release.
Diffstat (limited to 'examples/guided.py')
-rw-r--r--examples/guided.py3
1 files changed, 3 insertions, 0 deletions
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():
"""