feat(param): expand reviewed IM parameter normalization
This commit is contained in:
1 parent
4db117893e
commit
bfd53df9b2
16 files changed
+2314
-138
No files matched your search
@@ -139,9 +139,6 @@ func persistentFlagToken(flags *pflag.FlagSet, argument string) (*pflag.Flag, bo
|
||||
}
|
||||
|
||||
body := strings.TrimPrefix(argument, "-")
|
||||
if body == "" {
|
||||
return nil, false, false
|
||||
}
|
||||
shorthands := []rune(body)
|
||||
for index, shorthand := range shorthands {
|
||||
flag := flags.ShorthandLookup(string(shorthand))
|
||||
|
||||
Reference in new issue
Block a user