]> Cypherpunks repositories - gostls13.git/commit
cmd/pack: print error along with usage
authorRuss Cox <rsc@golang.org>
Wed, 16 Apr 2014 00:05:56 +0000 (20:05 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 16 Apr 2014 00:05:56 +0000 (20:05 -0400)
commit22505cd2a1f6006c50a90999561463eba57897de
tree07f4424e4d94621aa989cd54a32d2d5d11b622d6
parentc8ef6776e49d5dddd7d328fee2dde522197f2cdc
cmd/pack: print error along with usage

My cmd/go got in a weird state where it started invoking pack grcP.
Change pack to print a 1-line explanation of the usage problem
before the generic usage message.

LGTM=r
R=r
CC=golang-codereviews
https://golang.org/cl/87770047
src/cmd/pack/pack.go