summary refs log tree commit diff stats
path: root/koch.nim
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2021-06-07 10:44:43 +0100
committerGitHub <noreply@github.com>2021-06-07 11:44:43 +0200
commit2ec52faae5ba5c233f977a8a4b997734c4ad83e7 (patch)
treefb85db01277897239b235a19687c402d0d623446 /koch.nim
parente7aa41ff3f6820d8ada3fd650d523c7f7d584fda (diff)
downloadNim-2ec52faae5ba5c233f977a8a4b997734c4ad83e7.tar.gz
koch: print help if no command is given (#18199)
Diffstat (limited to 'koch.nim')
-rw-r--r--koch.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/koch.nim b/koch.nim
index 3d7276aee..665b5e042 100644
--- a/koch.nim
+++ b/koch.nim
@@ -708,4 +708,5 @@ when isMainModule:
       of "branchdone": branchDone()
       else: showHelp(success = false)
       break
-    of cmdEnd: break
+    of cmdEnd:
+      showHelp(success = false)