Skip to content

cargo completion make -- argument not working. #1004

Open
@lll9p

Description

@lll9p

cargo clippy --workspace -- -D warnings -D clippy::unwrap_used

will produced like:


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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions