dtolnay/cargo-expand

Make prettyplease version appear only if `--version --verbose` is used

dtolnay opened this issue · 1 comments

cargo-expand/build.rs

Lines 9 to 11 in 1a43c1c

// TODO: Make this appear only if `--version --verbose` is used.
version.push_str(" + prettyplease ");
version.push_str(&prettyplease_version);

Current:

$ cargo expand --version
cargo-expand 1.0.25 + prettyplease 0.1.12

Desired:

$ cargo expand --version
cargo-expand 1.0.25

$ cargo expand --version --verbose
cargo-expand 1.0.25 + prettyplease 0.1.12