]> Cypherpunks repositories - gostls13.git/commit
cmd/go: remove extraneous 'file' from usage message in script_test
authorBryan C. Mills <bcmills@google.com>
Tue, 9 Oct 2018 14:21:53 +0000 (10:21 -0400)
committerBryan C. Mills <bcmills@google.com>
Tue, 9 Oct 2018 20:10:21 +0000 (20:10 +0000)
commit45e668879d763dd6b312034c98f8c5ffa7228ce6
tree80b84c4e7c17c746280672f69a65e6e582eff527
parent6c85693bf14e246e5a53466048329cb7571a674c
cmd/go: remove extraneous 'file' from usage message in script_test

Previously, erroneous usage would produce error messages like:

FAIL: testdata/script/mod_tidy_replace.txt:4: usage: stdout [-count=N] 'pattern' file

where the “file” argument is not actually valid for the stdout command.

Change-Id: I74100960f4d25da122faa6c82620995a3fbfc75f
Reviewed-on: https://go-review.googlesource.com/c/140858
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/go/script_test.go