1
0
mirror of https://github.com/golang/go synced 2024-11-18 10:54:40 -07:00
go/cmd/bundle
Dmitri Shuralyov 5b59ce8b5f cmd/bundle: More idiomatic flag.Usage.
The responsibility of flag.Usage is to print usage to stderr:

> Usage prints to standard error a usage message documenting all
> defined command-line flags.

Calling os.Exit(2) is outside of its scope, flag package does that.

Change-Id: I3eef2b796e5ddedff6d5927dbcdbfff3a6082270
Reviewed-on: https://go-review.googlesource.com/23788
Reviewed-by: Joseph Holsten <joseph@josephholsten.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
2016-07-21 15:33:57 +00:00
..
testdata cmd/bundle: move down imports of external package 2016-05-26 02:53:53 +00:00
main_test.go cmd/bundle: move down imports of external package 2016-05-26 02:53:53 +00:00
main.go cmd/bundle: More idiomatic flag.Usage. 2016-07-21 15:33:57 +00:00