summary refs log tree commit diff stats
path: root/lib/std/cmdline.nim
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2022-12-03 04:10:08 +0800
committerGitHub <noreply@github.com>2022-12-02 15:10:08 -0500
commitece41d26059c3d1c46af661ef146c21fffc75d16 (patch)
treeff618ca088adc6858201ff1c06c732033d5c9743 /lib/std/cmdline.nim
parent79ec6d677cd7d63e3e8e90101c30b1dc1103dcc9 (diff)
downloadNim-ece41d26059c3d1c46af661ef146c21fffc75d16.tar.gz
minor cleanup; correct the module name (#21001)
* minor cleanup 

follow up https://github.com/nim-lang/Nim/pull/20946

* Update lib/std/cmdline.nim

* Update lib/std/cmdline.nim

Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
Diffstat (limited to 'lib/std/cmdline.nim')
-rw-r--r--lib/std/cmdline.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/cmdline.nim b/lib/std/cmdline.nim
index 53e72a265..3208da1b8 100644
--- a/lib/std/cmdline.nim
+++ b/lib/std/cmdline.nim
@@ -34,7 +34,7 @@ elif defined(windows):
 elif defined(posix):

   import posix

 else:

-  {.error: "cmdparam module not ported to your operating system!".}

+  {.error: "The cmdline module has not been implemented for the target platform.".}

 

 

 # Needed by windows in order to obtain the command line for targets

@@ -310,4 +310,4 @@ when declared(paramCount) or defined(nimdoc):
 else:

   proc commandLineParams*(): seq[string] {.error:

   "commandLineParams() unsupported by dynamic libraries".} =

-    discard
\ No newline at end of file
+    discard