cliverage/usage.go

34 lines
515 B
Go

package main
import "fmt"
func usage() {
fmt.Printf(`
%s
cliverage - print human-readable golang code coverage
%s
%s -d codepath -c coverfile [-f filepath]
%s
-d codepath
Path to where lives your code
-c coverfile
Path to the coverage file generated by "go test -coverprofile".
-f filepath
Optional path to a file (relative to %s).
%s
Adrien Marquès (aka. xdrm-brackets)
`,
bold("NAME"),
bold("SYNOPSIS"),
bold("cliverage"),
bold("OPTIONS"),
bold("codepath"),
bold("AUTHORS"),
)
}