mirror of
https://github.com/golang/go
synced 2024-11-18 10:54:40 -07:00
5b59ce8b5f
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> |
||
---|---|---|
.. | ||
testdata | ||
main_test.go | ||
main.go |