mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 21:53:52 +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:
@@ -183,13 +183,12 @@ __custom_func() {
|
|||||||
usage_template = `{{if gt .Aliases 0}}
|
usage_template = `{{if gt .Aliases 0}}
|
||||||
|
|
||||||
Aliases:
|
Aliases:
|
||||||
{{.NameAndAliases}}
|
{{.NameAndAliases}}{{end}}{{if .HasExample}}
|
||||||
{{end}}{{if .HasExample}}
|
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
{{ .Example }}{{end}}{{ if .HasAvailableSubCommands}}
|
{{ .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}}
|
{{rpad .Name .NamePadding }} {{.Short}}{{end}}{{end}}{{end}}{{ if .HasLocalFlags}}
|
||||||
|
|
||||||
Flags:
|
Flags:
|
||||||
|
Reference in New Issue
Block a user