Skip to content

Commit 471e11c

Browse files
committed
fix error
1 parent 7bf9a50 commit 471e11c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/cargo/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Run with 'cargo -Z [FLAG] [SUBCOMMAND]'",
101101
}
102102

103103
let is_verbose = expanded_args.occurrences_of("verbose") > 0;
104-
if args.is_present("version") {
104+
if expanded_args.is_present("version") {
105105
let version = get_version_string(is_verbose);
106106
drop_print!(config, "{}", version);
107107
return Ok(());

0 commit comments

Comments
 (0)