-
look codingcommand linecargo run -- --target https://example.com chromium --path '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome' error info |
Beta Was this translation helpful? Give feedback.
Answered by
epage
Dec 27, 2023
Replies: 1 comment 1 reply
-
Whats happening is that Generally, arguments are done with multiple occurrences ( |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
baerwang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Whats happening is that
num_args(0..)
ontarget
is capturingchromium
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 usesubcommand_precedence_over_arg
to getchromium
recognized as a subcommand.