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:
parent
79ec6d677c
commit
ece41d2605
1 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ elif defined(windows):
|
||||||
elif defined(posix):
|
elif defined(posix):
|
||||||
import posix
|
import posix
|
||||||
else:
|
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
|
# Needed by windows in order to obtain the command line for targets
|
||||||
|
|
@ -310,4 +310,4 @@ when declared(paramCount) or defined(nimdoc):
|
||||||
else:
|
else:
|
||||||
proc commandLineParams*(): seq[string] {.error:
|
proc commandLineParams*(): seq[string] {.error:
|
||||||
"commandLineParams() unsupported by dynamic libraries".} =
|
"commandLineParams() unsupported by dynamic libraries".} =
|
||||||
discard
|
discard
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue