summary refs log tree commit diff stats
path: root/lib/std/private
diff options
context:
space:
mode:
authorIgorDeepakM <117689228+IgorDeepakM@users.noreply.github.com>2022-11-30 11:00:26 +0100
committerGitHub <noreply@github.com>2022-11-30 11:00:26 +0100
commit84ea62ea0d64ba454d0f53beb4f3f16d0582ab45 (patch)
tree872d4e371696ab3f4ea3693b48955a053472f9c6 /lib/std/private
parent8f728ace353857b007c9c38d1d4de98bf431d5e2 (diff)
downloadNim-84ea62ea0d64ba454d0f53beb4f3f16d0582ab45.tar.gz
Move command line parameter code (#20946)
Command line paramater code moved from os.nim to cmdparam.nim

Co-authored-by: IgorDeepakM <IgorDeepak@noreply.com>
Diffstat (limited to 'lib/std/private')
-rw-r--r--lib/std/private/oscommon.nim2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/std/private/oscommon.nim b/lib/std/private/oscommon.nim
index bab4856ca..5b4e1d7e3 100644
--- a/lib/std/private/oscommon.nim
+++ b/lib/std/private/oscommon.nim
@@ -54,14 +54,12 @@ when defined(windows) and not weirdTarget:
     proc findFirstFile*(a: string, b: var WIN32_FIND_DATA): Handle =
       result = findFirstFileW(newWideCString(a), b)
     template findNextFile*(a, b: untyped): untyped = findNextFileW(a, b)
-    template getCommandLine*(): untyped = getCommandLineW()
 
     template getFilename*(f: untyped): untyped =
       $cast[WideCString](addr(f.cFileName[0]))
   else:
     template findFirstFile*(a, b: untyped): untyped = findFirstFileA(a, b)
     template findNextFile*(a, b: untyped): untyped = findNextFileA(a, b)
-    template getCommandLine*(): untyped = getCommandLineA()
 
     template getFilename*(f: untyped): untyped = $cast[cstring](addr f.cFileName)