Skip to content

Commit

Permalink
minor cleanup; correct the module name (nim-lang#21001)
Browse files Browse the repository at this point in the history
* minor cleanup 

follow up nim-lang#20946

* Update lib/std/cmdline.nim

* Update lib/std/cmdline.nim

Co-authored-by: Clay Sweetser <[email protected]>
  • Loading branch information
ringabout and Varriount authored Dec 2, 2022
1 parent 79ec6d6 commit ece41d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/std/cmdline.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -310,4 +310,4 @@ when declared(paramCount) or defined(nimdoc):
else:
proc commandLineParams*(): seq[string] {.error:
"commandLineParams() unsupported by dynamic libraries".} =
discard
discard

0 comments on commit ece41d2

Please sign in to comment.