summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2023-06-21 22:30:23 +0800
committerGitHub <noreply@github.com>2023-06-21 16:30:23 +0200
commiteb2f0353bcf46cd250c6bdd7b754904feef3df8a (patch)
tree578f3b6d1c6f522e3f5a04aa874c26bda3aca06b
parent3ad2e7df1cfb0b454a96dbbc10b2684d1f53dc9b (diff)
downloadNim-eb2f0353bcf46cd250c6bdd7b754904feef3df8a.tar.gz
adds missing staticlib hints (#22140)
-rw-r--r--compiler/commands.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/commands.nim b/compiler/commands.nim
index f881a4f57..cb9a12cbb 100644
--- a/compiler/commands.nim
+++ b/compiler/commands.nim
@@ -240,7 +240,7 @@ proc processCompile(conf: ConfigRef; filename: string) =
 const
   errNoneBoehmRefcExpectedButXFound = "'arc', 'orc', 'atomicArc', 'markAndSweep', 'boehm', 'go', 'none', 'regions', or 'refc' expected, but '$1' found"
   errNoneSpeedOrSizeExpectedButXFound = "'none', 'speed' or 'size' expected, but '$1' found"
-  errGuiConsoleOrLibExpectedButXFound = "'gui', 'console' or 'lib' expected, but '$1' found"
+  errGuiConsoleOrLibExpectedButXFound = "'gui', 'console', 'lib' or 'staticlib' expected, but '$1' found"
   errInvalidExceptionSystem = "'goto', 'setjmp', 'cpp' or 'quirky' expected, but '$1' found"
 
 template warningOptionNoop(switch: string) =