Skip to content

"clippy-driver -Vv" is different from "clippy-driver --version --verbose" #5167

Open
@jsgf

Description

@jsgf

These two invocations produce the same output:

$ clippy-driver -V
clippy 0.0.212 (69f99e7 2019-12-14)
$ clippy-driver --version
clippy 0.0.212 (69f99e7 2019-12-14)

But these do not. Assuming that -v is the short form for --verbose, I would expect them to be equivalent. I would also expect -Vv to be the same as -V -v.

$ clippy-driver -Vv
rustc 1.41.0 (5e1a79984 2020-01-27)
binary: rustc
commit-hash: 5e1a799842ba6ed4a57e91f7ab9435947482f7d8
commit-date: 2020-01-27
host: x86_64-unknown-linux-gnu
release: 1.41.0
LLVM version: 9.0
$ clippy-driver --version --verbose
clippy 0.0.212 (69f99e7 2019-12-14)
[jsgf@jsgf-fedora-R90S9GAX rustversion]$ clippy-driver -V -v
clippy 0.0.212 (69f99e7 2019-12-14)

Is this intended? It's very confusing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: Clippy is not doing the correct thingC-enhancementCategory: Enhancement of lints, like adding more cases or adding help messages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions