summaryrefslogtreecommitdiff
path: root/cmd/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/main.go')
-rw-r--r--cmd/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/main.go b/cmd/main.go
index 9997cc4..a86c04a 100644
--- a/cmd/main.go
+++ b/cmd/main.go
@@ -68,7 +68,7 @@ func Main() {
exitCode, err := subcommand.Func(Flags{fs})
if err != nil {
- fmt.Printf("%s: %v\n", subcommand.Name, err)
+ fmt.Fprintf(os.Stderr, "%s: %v\n", subcommand.Name, err)
}
os.Exit(exitCode)