Merge pull request #936 from abperiasamy/description

move description above usage
This commit is contained in:
Harshavardhana 2015-10-21 22:37:40 -07:00
commit 8978c19db6

View File

@ -111,12 +111,12 @@ func registerApp() *cli.App {
app.CustomAppHelpTemplate = `NAME:
{{.Name}} - {{.Usage}}
USAGE:
minio {{if .Flags}}[flags] {{end}}command{{if .Flags}}{{end}} [arguments...]
DESCRIPTION:
{{.Description}}
USAGE:
minio {{if .Flags}}[flags] {{end}}command{{if .Flags}}{{end}} [arguments...]
COMMANDS:
{{range .Commands}}{{join .Names ", "}}{{ "\t" }}{{.Usage}}
{{end}}{{if .Flags}}