File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ Environment Variables:
2525`
2626
2727const appHelpTemplate = `NAME:
28- {{.Name}} - {{.Usage }}
28+ {{.Name}} - {{.Description }}
2929
3030USAGE:
3131 {{if .UsageText}}{{.UsageText}}{{else}}{{.HelpName}} {{if .VisibleFlags}}[global options]{{end}}{{if .Commands}} command [command options]{{end}} [arguments...]{{end}}
@@ -37,7 +37,7 @@ AUTHOR(S):
3737 {{range .Authors}}{{ . }}{{end}}
3838 {{end}}{{if .VisibleCommands}}
3939COMMANDS:
40- {{range .VisibleCommands}}{{join .Names ", "}}{{ "\t" }}{{. Usage}}
40+ {{range .VisibleCommands}}{{join .Names ", "}}{{ "\t" }}{{if .Description}}{{.Description}}{{else}}{{. Usage}}{{end }}
4141 {{end}}{{end}}{{if .VisibleFlags}}
4242GLOBAL OPTIONS:
4343 {{range .VisibleFlags}}{{.}}
You can’t perform that action at this time.
0 commit comments