Compact help should display full command.

This commit is contained in:
Alec Thomas
2018-06-21 00:04:35 +10:00
parent 39fd1507da
commit d9c0dd25b1
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ func printNodeDetail(w *helpWriter, node *Node) {
if w.options.compact {
rows := [][2]string{}
for _, cmd := range cmds {
rows = append(rows, [2]string{cmd.Name, cmd.Help})
rows = append(rows, [2]string{cmd.Path(), cmd.Help})
}
writeTwoColumns(iw, defaultColumnPadding, rows)
} else {