diff --git a/help.go b/help.go index afd35ff..59ba66e 100644 --- a/help.go +++ b/help.go @@ -9,7 +9,8 @@ import ( var cmdHelp = &Command{ Usage: "help [topic]", - Long: `Help shows usage for a command or other topic.`, + Short: "Show this help", + Long: `Help shows usage for a command.`, } func init() { @@ -37,9 +38,10 @@ func runHelp(cmd *Command, args []string) { } var usageTemplate = template.Must(template.New("usage").Parse(` -Usage: forego [command] [options] [arguments] -{{range .Commands}}{{if .Runnable}}{{if .List}} - {{.Name | printf "%-8s"}} {{.Short}}{{end}}{{end}}{{end}} +Usage: foreman [] + +Available commands:{{range .Commands}}{{if .Runnable}}{{if .List}} + {{.Name | printf "%-8s"}} {{.Short}}{{end}}{{end}}{{end}} Run 'forego help [command]' for details.`[1:])) diff --git a/start.go b/start.go index 1f2c707..41a973b 100644 --- a/start.go +++ b/start.go @@ -11,15 +11,14 @@ var flagEnv string var cmdStart = &Command{ Run: runStart, Usage: "start [-f procfile] [-e env] [-c concurrency]", - Short: "start the app", + Short: "Start the application", Long: ` Start the application specified by a Procfile (defaults to ./Procfile) Examples: - forego start - - forego start -f Procfile.test -e .env.test + forego start + forego start -f Procfile.test -e .env.test `, }