Skip to content

Commit

Permalink
undid stupid mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
alecbakholdin committed Jul 1, 2022
1 parent bf8eeb3 commit b7b3285
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions argument.go
Expand Up @@ -422,10 +422,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 b7b3285

Please sign in to comment.