Argument grouping bug
Red44 opened this issue · 1 comments
Red44 commented
Grouping error
I am currently trying this on Windows 11 and noticed, that ' is not working as it shut, grouping spaced commands into a singular argument.
Example:
cargo watch -x 'build --release'
Results in:
error: Found argument '--release'' which wasn't expected, or isn't valid in this context
USAGE:
cargo watch [FLAGS] [OPTIONS]
For more information try --help
Am I using the tool wrong, or is this assumption correct, that this is a bug?
Kind regards Jakob
passcod commented
You are not technically using the tool wrong, and this is not a bug! This is, most likely, shell quoting issues. See e.g. https://superuser.com/questions/324278/how-to-make-windows-command-prompt-treat-single-quote-as-though-it-is-a-double-q