`./godev` is the most recent Go binary built from source.
`go` is Go 1.5.2.
[FAILS with flag provided but not defined: -race]
./godev test -timeout 3m -cover github.com/coreos/etcd/client --race -cpu 1,2,4;
[SUCCESS]
./godev test -timeout 3m -cover --race -cpu 1,2,4 github.com/coreos/etcd/client;
[SUCCESS]
go test -timeout 3m -cover github.com/coreos/etcd/client --race -cpu 1,2,4;
[SUCCESS]
go test -timeout 3m -cover --race -cpu 1,2,4 github.com/coreos/etcd/client;
Thanks Dave! Weird that it only breaks with go tip and go standard flag package only supports double hyphens.
Sincerely,
Gyu-Ho Lee
--
You received this message because you are subscribed to a topic in the Google Groups "golang-nuts" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/golang-nuts/MT4_KDSHLNc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sorry meant to say
*also supports double hypens
Sincerely,
Gyu-Ho Lee
Flags have to come before the name of the package, otherwise they are passed to the package itself.
--
You received this message because you are subscribed to a topic in the Google Groups "golang-nuts" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/golang-nuts/MT4_KDSHLNc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.