Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
heisen-li committed Sep 22, 2021
1 parent 7bf9a50 commit 471e11c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/cargo/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Run with 'cargo -Z [FLAG] [SUBCOMMAND]'",
}

let is_verbose = expanded_args.occurrences_of("verbose") > 0;
if args.is_present("version") {
if expanded_args.is_present("version") {
let version = get_version_string(is_verbose);
drop_print!(config, "{}", version);
return Ok(());
Expand Down

0 comments on commit 471e11c

Please sign in to comment.