Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port cargo to clap3 #10265

Merged
merged 12 commits into from
Jan 12, 2022
Prev Previous commit
Next Next commit
refactor: Resolve App::usage deprecation
  • Loading branch information
epage committed Jan 6, 2022
commit aed031253a4f8b309b00291a93654de09c31a384
2 changes: 1 addition & 1 deletion src/bin/cargo/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ fn cli() -> App {
// Doesn't mix well with our list of common cargo commands. See clap-rs/clap#3108 for
// opening clap up to allow us to style our help template
.global_setting(AppSettings::DisableColoredHelp)
.usage(usage)
.override_usage(usage)
.template(
"\
Rust's package manager
Expand Down