mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-03 03:32:32 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user