rillig / gobco

Measure branch coverage of golang tests
62 stars 12 forks source link

-help and -version options #5

Closed KantarBruceAdams closed 5 years ago

KantarBruceAdams commented 5 years ago

Two minor niggles:

gobco test -help

dumps the output of "go test -help" starting with:

usage: go test [build/test flags] [packages] [build/test flags & test binary flags]

and ending with:

2019/07/18 15:37:37 exit status 2

go test -help inexplicable returns an error code for -help (gobco itself returns 0 as it should for this option)

Also there is no -version option. This would simply report the program version and exit. This wil become useful once there are some versions (as per issue #3 )