Really don't suggest hidden commands.

This commit is contained in:
Alec Thomas
2018-08-08 14:45:26 +10:00
parent 6fcc190f78
commit e2c55d143e
+3
View File
@@ -524,6 +524,9 @@ func checkMissingChildren(node *Node) error {
}
}
for _, child := range node.Children {
if child.Hidden {
continue
}
if child.Argument != nil {
if !child.Argument.Required {
continue