fix broken group command descriptions if available
This commit is contained in:
parent
d484347aa3
commit
de1c898f0d
|
@ -152,6 +152,10 @@ func Execute(version string) error {
|
|||
Arguments: command.Arguments{},
|
||||
Options: command.Options{},
|
||||
}
|
||||
if groupParent.FullName() == cmd.FullName() {
|
||||
groupParent.Summary = cmd.Summary
|
||||
groupParent.Description = cmd.Description
|
||||
}
|
||||
Register(groupParent)
|
||||
} else {
|
||||
log.Tracef("using pre-existing group parent for %s (%s)", groupPath, groupParent.Path)
|
||||
|
|
Loading…
Reference in New Issue