mirror of
https://github.com/spf13/cobra
synced 2024-11-24 22:57:12 +00:00
Fixed typo in md output
This commit is contained in:
parent
3c187e9045
commit
c4667c9e63
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ func printOptions(out *bytes.Buffer, cmd *Command, name string) {
|
||||||
parentFlags := cmd.InheritedFlags()
|
parentFlags := cmd.InheritedFlags()
|
||||||
parentFlags.SetOutput(out)
|
parentFlags.SetOutput(out)
|
||||||
if parentFlags.HasFlags() {
|
if parentFlags.HasFlags() {
|
||||||
fmt.Fprintf(out, "### Options inherrited from parent commands\n\n```\n")
|
fmt.Fprintf(out, "### Options inherited from parent commands\n\n```\n")
|
||||||
parentFlags.PrintDefaults()
|
parentFlags.PrintDefaults()
|
||||||
fmt.Fprintf(out, "```\n\n")
|
fmt.Fprintf(out, "```\n\n")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue