Skip to content

Commit 8c6ce40

Browse files
committed
Fix Go <1.10 support
1 parent 60c6daa commit 8c6ce40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717

1818
func main() {
1919
flag.Usage = func() {
20-
out := flag.CommandLine.Output()
20+
out := os.Stderr
2121
fmt.Fprintln(out, "Usage: jplot [OPTIONS] FIELD_SPEC [FIELD_SPEC...]:")
2222
fmt.Fprintln(out, "")
2323
fmt.Fprintln(out, "OPTIONS:")

0 commit comments

Comments
 (0)