We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 344a85e commit 5185ab8Copy full SHA for 5185ab8
1 file changed
man/generate.go
@@ -62,8 +62,8 @@ func generateManPages(opts *options) error {
62
})
63
}
64
65
-func loadLongDescription(cmd *cobra.Command, path string) error {
66
- for _, cmd := range cmd.Commands() {
+func loadLongDescription(parentCommand *cobra.Command, path string) error {
+ for _, cmd := range parentCommand.Commands() {
67
cmd.DisableFlagsInUseLine = true
68
if cmd.Name() == "" {
69
continue
0 commit comments