summary refs log tree commit diff stats
path: root/compiler/nim.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/nim.nim')
-rw-r--r--compiler/nim.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nim.nim b/compiler/nim.nim
index 280782330..b39eefd65 100644
--- a/compiler/nim.nim
+++ b/compiler/nim.nim
@@ -39,7 +39,7 @@ proc prependCurDir(f: string): string =
 
 proc handleCmdLine(cache: IdentCache; config: ConfigRef) =
   if paramCount() == 0:
-    writeCommandLineUsage()
+    writeCommandLineUsage(config.helpWritten)
   else:
     # Process command line arguments:
     processCmdLine(passCmd1, "", config)