INNER CODE UNIT · Go
usage
g3n/g3nd · app/app.go:85
func usage() {
fmt.Fprintf(os.Stderr, "%s v%d.%d\n", progName, vmajor, vminor)
fmt.Fprintf(os.Stderr, "usage: %s [options] [<test>] \n", execName)
flag.PrintDefaults()
os.Exit(2)
}
const (
progName = "G3N Demo" // TODO set title (create pair of files for build tags)
execName = "g3nd"
vmajor = 0
vminor = 6
)
// Create creates the G3ND application using the specified map of demos
func Create() *App {
a := new(App)