nimpretty: bugfix [bugfix]

(cherry picked from commit 284a8cb58a)
This commit is contained in:
Araq
2019-06-28 11:45:21 +02:00
committed by narimiran
parent 1503970c3b
commit 970c7616bc
4 changed files with 106 additions and 12 deletions

View File

@@ -160,11 +160,11 @@ type
cmdArgument, ## An argument such as a filename
cmdLongOption, ## A long option such as --option
cmdShortOption ## A short option such as -c
OptParser* =
object of RootObj ## Implementation of the command line parser.
##
## To initialize it, use the
## `initOptParser proc<#initOptParser,string,set[char],seq[string]>`_.
OptParser* = object of RootObj ## \
## Implementation of the command line parser.
##
## To initialize it, use the
## `initOptParser proc<#initOptParser,string,set[char],seq[string]>`_.
pos*: int
inShortState: bool
allowWhitespaceAfterColon: bool