From 9d16f9fc4d39aae0968b6fa1702fae91b616d077 Mon Sep 17 00:00:00 2001 From: bptato Date: Sun, 22 Dec 2024 22:32:25 +0100 Subject: main: add missing noreturn --- src/main.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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: -- cgit