Update command.go
This commit is contained in:
parent
38f9e1622d
commit
f4128a02f3
@ -272,7 +272,7 @@ func reorderArgs(args []string) []string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func translateShortOptions(set *flag.FlagSet, flagArgs Args) []string {
|
func translateShortOptions(set *flag.FlagSet, flagArgs Args) []string {
|
||||||
allCharsFlags := func(s string) bool {
|
allCharsFlags := func (s string) bool {
|
||||||
for i := range s {
|
for i := range s {
|
||||||
f := set.Lookup(string(s[i]))
|
f := set.Lookup(string(s[i]))
|
||||||
if f == nil {
|
if f == nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user