about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-12-22 22:32:25 +0100
committerbptato <nincsnevem662@gmail.com>2024-12-22 22:32:25 +0100
commit9d16f9fc4d39aae0968b6fa1702fae91b616d077 (patch)
treeafb7bdea86e9ac9884552730487e4b578880ca7b
parentdcfe3cafca542a38a213a44e201e317c68f89dcd (diff)
downloadchawan-9d16f9fc4d39aae0968b6fa1702fae91b616d077.tar.gz
main: add missing noreturn
-rw-r--r--src/main.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.nim b/src/main.nim
index ec0f4f8a..22455239 100644
--- a/src/main.nim
+++ b/src/main.nim
@@ -56,7 +56,7 @@ const ChaVersionStrLong = block:
     s &= "no termcap"
   s & ")\n"
 
-proc help(i: int) =
+proc help(i: int) {.noreturn.} =
   let s = ChaVersionStr & """
 Usage: cha [options] [URL(s) or file(s)...]
 Options: