Skip to content

Commit

Permalink
Error not needed in triplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
NHOrus committed Apr 14, 2016
1 parent 7a824a8 commit 9b4223e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func (b *Bool) UnmarshalFlag(value string) error {
t, err := strconv.ParseBool(value)

if err != nil {
return fmt.Errorf("%s: only `true' and `false' are valid values, not `%s'", err, value)
return fmt.Errorf("only `true' and `false' are valid values, not `%s'", value)
}

*b = Bool(t)
Expand Down

0 comments on commit 9b4223e

Please sign in to comment.