From b4c1dcb095da28d1d54e10184a3eddd9b0122f89 Mon Sep 17 00:00:00 2001 From: Zac Bergquist Date: Fri, 15 Dec 2017 08:48:08 -0700 Subject: [PATCH] Write errors to stderr --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 2d198f0..26cb707 100644 --- a/main.go +++ b/main.go @@ -80,7 +80,7 @@ func main() { d, err := Run(ctx, filename, offset) if err != nil { - fmt.Println(err) + fmt.Fprintln(os.Stderr, err) os.Exit(1) }