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>
This commit is contained in:
ringabout
2022-12-03 04:10:08 +08:00
committed by GitHub
parent 79ec6d677c
commit ece41d2605

View File

@@ -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
discard