From ece41d26059c3d1c46af661ef146c21fffc75d16 Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Sat, 3 Dec 2022 04:10:08 +0800 Subject: [PATCH] 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 --- lib/std/cmdline.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/std/cmdline.nim b/lib/std/cmdline.nim index 53e72a2650..3208da1b80 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