Skip to content

Commit 0586e43

Browse files
committed
call new usage banner on error on cli options, v3 try
1 parent add25d5 commit 0586e43

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
@@ -25,7 +25,7 @@ func main() {
2525
cli, err := common.ParseAndValidateFlags(flag.CommandLine, os.Args[1:])
2626
if err != nil {
2727
fmt.Fprintln(os.Stderr, err)
28-
flag.commandline.Usage()
28+
flag.CommandLine.Usage()
2929
os.Exit(2)
3030
}
3131

0 commit comments

Comments
 (0)