Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hidden commands are not checked for validity/invariants #380

Open
ysndr opened this issue Jul 29, 2024 · 1 comment
Open

Hidden commands are not checked for validity/invariants #380

ysndr opened this issue Jul 29, 2024 · 1 comment

Comments

@ysndr
Copy link
Contributor

ysndr commented Jul 29, 2024

Apparently bpaf skips hidden args and subcommands when checking parser invariants:

Meta::Skip => {}

I personally believe it shouldn't as those args are still required to work under the same invariants as non-hidden args.

@pacak
Copy link
Owner

pacak commented Jul 29, 2024

Sure, I'll make a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants