about summary refs log tree commit diff stats
path: root/src/main.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-07-30 19:50:24 +0200
committerbptato <nincsnevem662@gmail.com>2022-07-30 19:50:24 +0200
commita26dae6c0123e291352fc7d24699eb8c58193718 (patch)
tree455e8bbb31e925649366a109f98458d99cd5e5e3 /src/main.nim
parent14900f15118f79b841a17d4b0d817a60a551f2f3 (diff)
downloadchawan-a26dae6c0123e291352fc7d24699eb8c58193718.tar.gz
Update docs
Diffstat (limited to 'src/main.nim')
-rw-r--r--src/main.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.nim b/src/main.nim
index f05e9228..926d1c37 100644
--- a/src/main.nim
+++ b/src/main.nim
@@ -66,6 +66,8 @@ while i < params.len:
       gconfig.parseConfig(getCurrentDir(), params[i])
     else:
       help(1)
+  of "-h",  "--help":
+    help(0)
   of "--":
     escape_all = true
   elif param.len > 0: