mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Merge pull request #28573 from dims/fix-issue-7496-followup
Automatic merge from submit-queue Follow up to PR 25640 - Cleanup newline and tweak help text Follow up to PR https://github.com/kubernetes/kubernetes/pull/25640 * Remove redundant newline below Aliases: * Renaming "Available Commands:" to "Available Sub-commands:"
This commit is contained in:
commit
1c8985160a
@ -183,13 +183,12 @@ __custom_func() {
|
||||
usage_template = `{{if gt .Aliases 0}}
|
||||
|
||||
Aliases:
|
||||
{{.NameAndAliases}}
|
||||
{{end}}{{if .HasExample}}
|
||||
{{.NameAndAliases}}{{end}}{{if .HasExample}}
|
||||
|
||||
Examples:
|
||||
{{ .Example }}{{end}}{{ if .HasAvailableSubCommands}}
|
||||
|
||||
Available Commands:{{range .Commands}}{{if .IsAvailableCommand}}
|
||||
Available Sub-commands:{{range .Commands}}{{if .IsAvailableCommand}}
|
||||
{{rpad .Name .NamePadding }} {{.Short}}{{end}}{{end}}{{end}}{{ if .HasLocalFlags}}
|
||||
|
||||
Flags:
|
||||
|
Loading…
Reference in New Issue
Block a user