You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: unexpected argument '-' found
Usage: cargo.exe check [OPTIONS]
cargo test -- --nocapture
will produced like:
error: unexpected argument '--nocapture' found
tip: a similar argument exists: '--features'
tip: to pass '--nocapture' as a value, use '-- --nocapture'
Usage: cargo.exe test --features <FEATURES> <TESTNAME> [-- [ARGS]...]
For more information, try '--help'.
I must do the work like ^cargo test -- --nocapture , How can I fix this?
The text was updated successfully, but these errors were encountered:
it could be because -- is not supported in nushell. in order to pass this through there would have to be a def --wrapped name [] {} but that may also break custom completions too.
It's possible to do cargo test -- -- --nocapture to make sure that -- --nocapture is sent to cargo, but that's not a better solution than ^cargo. Not sure if there's a solution to this that's also easy to maintain for the person making completions.
cargo clippy --workspace -- -D warnings -D clippy::unwrap_used
will produced like:
cargo test -- --nocapture
will produced like:
I must do the work like
^cargo test -- --nocapture
, How can I fix this?The text was updated successfully, but these errors were encountered: