Skip to content

Commit

Permalink
undid stupid mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
alecbakholdin authored and akamensky committed Jul 28, 2022
1 parent 3497177 commit af1d684
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions argument.go
Expand Up @@ -440,10 +440,7 @@ func (o *arg) usage() string {
result = result + " <integer>"
}
case *float64:
isFlagCounter := !o.unique && o.size == 1
if !isFlagCounter {
result = result + " <integer>"
}
result = result + " <float>"
case *string:
if o.selector != nil {
result = result + " (" + strings.Join(*o.selector, "|") + ")"
Expand Down

0 comments on commit af1d684

Please sign in to comment.