Fix exist sometimes being false for flags

This commit is contained in:
morganamilo 2018-04-17 18:24:39 +01:00
parent 63471b9ede
commit 440004a80c
No known key found for this signature in database
GPG key ID: 6FE9E7996B0B082E

View file

@ -246,6 +246,7 @@ func (parser *arguments) getArg(options ...string) (arg string, double bool, exi
}
double = existCount >= 2
exists = existCount >= 1
return
}