Really don't suggest hidden commands.
This commit is contained in:
@@ -524,6 +524,9 @@ func checkMissingChildren(node *Node) error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
for _, child := range node.Children {
|
for _, child := range node.Children {
|
||||||
|
if child.Hidden {
|
||||||
|
continue
|
||||||
|
}
|
||||||
if child.Argument != nil {
|
if child.Argument != nil {
|
||||||
if !child.Argument.Required {
|
if !child.Argument.Required {
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user