We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 854c423 commit f7b99adCopy full SHA for f7b99ad
docopt.go
@@ -52,7 +52,7 @@ func Parse(doc string, argv []string, help bool, version string,
52
args, output, err := parse(doc, argv, help, version, optionsFirst)
53
if _, ok := err.(*UserError); ok {
54
// the user gave us bad input
55
- fmt.Println(output)
+ fmt.Fprintln(os.Stderr, output)
56
if exitOk {
57
os.Exit(1)
58
}
0 commit comments