Skip to content

Commit

Permalink
Print error to STDERR
Browse files Browse the repository at this point in the history
Signed-off-by: Brett Logan <lindluni@github.com>
  • Loading branch information
lindluni committed Feb 17, 2024
1 parent 6f3aac7 commit f41c411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func main() {

err := app.Run(os.Args)
if err != nil {
fmt.Printf("Error: %v\n", err)
fmt.Fprintf(os.Stderr, "Error: %v\n", err)
os.Exit(1)
}
}

0 comments on commit f41c411

Please sign in to comment.