Skip to content
Myr

Update command.go (#2248)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix spelling in the help output. topcis -> topics

authored by styee · committed by GitHub · parent 1995054 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:command.go+1 added-1 removed
2023 unmodified lines
2024 fmt.Fprintf(w, "\n\nGlobal Flags:\n")2025 fmt.Fprint(w, trimRightSpace(c.InheritedFlags().FlagUsages()))2026 }2027 if c.HasHelpSubCommands() {2028 fmt.Fprintf(w, "\n\nAdditional help topcis:")2028 fmt.Fprintf(w, "\n\nAdditional help topics:")2029 for _, subcmd := range c.Commands() {2030 if subcmd.IsAdditionalHelpTopicCommand() {2031 fmt.Fprintf(w, "\n %s %s", rpad(subcmd.CommandPath(), subcmd.CommandPathPadding()), subcmd.Short)2032 }
40 unmodified lines