Skip to content

Do you support both master and child commands at the same time? #5272

Closed Answered by epage
baerwang asked this question in Q&A
Discussion options

You must be logged in to vote

Whats happening is that num_args(0..) on target is capturing chromium as a value.

Generally, arguments are done with multiple occurrences (--target foo --target bar) rather than number of values (--target foo bar). I would recommend going that route. If you want this to still work, you might be able to use subcommand_precedence_over_arg to get chromium recognized as a subcommand.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@baerwang
Comment options

Answer selected by baerwang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants