diff --git a/context.go b/context.go index 3a942a8..e0efb3a 100644 --- a/context.go +++ b/context.go @@ -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