mirror of
https://github.com/spf13/cobra
synced 2025-04-10 16:57:19 +00:00
capitolized letter
This commit is contained in:
parent
e94f6d0dd9
commit
aca5b04dfb
1 changed files with 1 additions and 1 deletions
|
@ -1188,7 +1188,7 @@ func (c *Command) checkCommandGroups() {
|
||||||
func (c *Command) InitDefaultHelpFlag() {
|
func (c *Command) InitDefaultHelpFlag() {
|
||||||
c.mergePersistentFlags()
|
c.mergePersistentFlags()
|
||||||
if c.Flags().Lookup("help") == nil {
|
if c.Flags().Lookup("help") == nil {
|
||||||
usage := "help for "
|
usage := "Help for "
|
||||||
name := c.displayName()
|
name := c.displayName()
|
||||||
if name == "" {
|
if name == "" {
|
||||||
usage += "this command"
|
usage += "this command"
|
||||||
|
|
Loading…
Add table
Reference in a new issue