We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bf9a50 commit 471e11cCopy full SHA for 471e11c
src/bin/cargo/cli.rs
@@ -101,7 +101,7 @@ Run with 'cargo -Z [FLAG] [SUBCOMMAND]'",
101
}
102
103
let is_verbose = expanded_args.occurrences_of("verbose") > 0;
104
- if args.is_present("version") {
+ if expanded_args.is_present("version") {
105
let version = get_version_string(is_verbose);
106
drop_print!(config, "{}", version);
107
return Ok(());
0 commit comments