mirror of
https://github.com/spf13/cobra
synced 2025-05-05 21:07:24 +00:00
Merge 16823c44f6
into d6948b782c
This commit is contained in:
commit
27d3764e77
1 changed files with 0 additions and 3 deletions
|
@ -994,9 +994,6 @@ func (c *Command) UseLine() string {
|
|||
} else {
|
||||
useline = c.Use
|
||||
}
|
||||
if c.HasAvailableFlags() && !strings.Contains(useline, "[flags]") {
|
||||
useline += " [flags]"
|
||||
}
|
||||
return useline
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue