Skip to content
Snippets Groups Projects
Commit a9b4bbf7 authored by Angus Lees's avatar Angus Lees
Browse files

Write error message to stderr

parent 16804420
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ func main() {
cmd.Version = version
if err := cmd.RootCmd.Execute(); err != nil {
fmt.Println("Error:", err)
fmt.Fprintln(os.Stderr, "Error:", err)
os.Exit(1)
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment