We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c81f38f commit 344a85eCopy full SHA for 344a85e
1 file changed
man/generate.go
@@ -71,7 +71,9 @@ func loadLongDescription(cmd *cobra.Command, path string) error {
71
fullpath := filepath.Join(path, cmd.Name()+".md")
72
73
if cmd.HasSubCommands() {
74
- loadLongDescription(cmd, filepath.Join(path, cmd.Name()))
+ if err := loadLongDescription(cmd, filepath.Join(path, cmd.Name())); err != nil {
75
+ return err
76
+ }
77
}
78
79
if _, err := os.Stat(fullpath); err != nil {
0 commit comments