summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorNan Xiao <nan@chinadtrace.org>2022-04-07 02:28:58 +0800
committerGitHub <noreply@github.com>2022-04-06 20:28:58 +0200
commit065f568470af944cfc43ecfed8df6ac8021b7cbe (patch)
treeb62433992219b0a48dd61d8f257d302a018c0c34
parentcb6ce80cb8dcf21733b437606ada1dfff9884316 (diff)
downloadNim-065f568470af944cfc43ecfed8df6ac8021b7cbe.tar.gz
No need to export pos from OptParser (#19688)
Co-authored-by: flywind <xzsflywind@gmail.com>
-rw-r--r--lib/pure/parseopt.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/parseopt.nim b/lib/pure/parseopt.nim
index 71deaa535..fef354733 100644
--- a/lib/pure/parseopt.nim
+++ b/lib/pure/parseopt.nim
@@ -164,7 +164,7 @@ type
     ##
     ## To initialize it, use the
     ## `initOptParser proc<#initOptParser,string,set[char],seq[string]>`_.
-    pos*: int
+    pos: int
     inShortState: bool
     allowWhitespaceAfterColon: bool
     shortNoVal: set[char]