]> Cypherpunks repositories - gostls13.git/commit
gotest: make it easier to get the help string
authorRob Pike <r@golang.org>
Fri, 21 Oct 2011 18:16:46 +0000 (11:16 -0700)
committerRob Pike <r@golang.org>
Fri, 21 Oct 2011 18:16:46 +0000 (11:16 -0700)
commitc6bdef3fd83aa826abe14e8a63924365a286057f
tree8d321062f88654b27de33e7592aafbffee8f0151
parent2cab897ce055fd753821a85a2134affe64ffe8cb
gotest: make it easier to get the help string
Because gotest's args are mingled with the tests, it's
hard to get the usage message to print. This CL adds
explicit support for -help, spelled several different ways.
Gotest has special flags like -file that are somewhat
hidden otherwise.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5298052
src/cmd/gotest/flag.go