cliverage/usage.go

34 lines
499 B
Go

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