aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flag.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/flag.go b/flag.go
index 7c058de..2723762 100644
--- a/flag.go
+++ b/flag.go
@@ -916,7 +916,6 @@ func VarP(value Value, name, shorthand, usage string) {
func (f *FlagSet) failf(format string, a ...interface{}) error {
err := fmt.Errorf(format, a...)
if f.errorHandling != ContinueOnError {
- fmt.Fprintln(f.Output(), err)
f.usage()
}
return err