xd009642 / tarpaulin

A code coverage tool for Rust projects
https://crates.io/crates/cargo-tarpaulin
Apache License 2.0
2.5k stars 180 forks source link

Tarpaulin removed -v shorthand for --verbose in 0.27 #1388

Closed msrd0 closed 1 year ago

msrd0 commented 1 year ago

Describe the bug I used to use -v flag for tarpaulin. It stopped working on the latest version.

To Reproduce Install version 0.27 of tarpaulin and try running tarpaulin with the -v flag:

Expected behaviour Tarpaulin runs with verbose logging.

Actual behaviour

error: unexpected argument '-v' found

  tip: to pass '-v' as a value, use '-- -v'

Usage: cargo tarpaulin [OPTIONS] [-- <ARGS>...]

For more information, try '--help'.
xd009642 commented 1 year ago

@MiniaczQ do you mind having a look at this if you have time as it's related to the clap 2 -> 4 migration. If not I can try and find some time after work some day this week

msrd0 commented 1 year ago

This turned out to be pretty easy to fix

MiniaczQ commented 1 year ago

Sorry for that 😅