Skip to content

Bug: Inconsistent CLI flags style: --no-tests requires an equal sign, all others use space #1933

Closed
@LeoniePhiline

Description

@LeoniePhiline

Description of the issue

Description:

Steps to reproduce:

  1. Intuitively try to use the new --no-tests flag, e.g. --profile ci --no-tests warn.

Expected outcome

--no-tests warn should work just as all the many other nextest flags with values, all of which use a space between flag and value.

Actual result

It fails, with --no-tests requiring =, rather than a space.

Nextest version

cargo-nextest 0.9.85 (d5f93f64f 2024-11-26)
release: 0.9.85
commit-hash: d5f93f64faf6b1d1d425dce52019c14757c7b082
commit-date: 2024-11-26
host: x86_64-unknown-linux-gnu

Additional context

Initially mentioned in #1646 (reply in thread).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions