Skip to content

Commit 7bf9a50

Browse files
committed
fmt&Update Code
1 parent 2a55b90 commit 7bf9a50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/cargo/cli.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ pub fn main(config: &mut Config) -> CliResult {
4242
}
4343
}
4444
};
45-
45+
4646
// Global args need to be extracted before expanding aliases because the
4747
// clap code for extracting a subcommand discards global options
4848
// (appearing before the subcommand).
49-
let (expanded_args, global_args) = expand_aliases(config, args)?;
49+
let (expanded_args, global_args) = expand_aliases(config, args, vec![])?;
5050

5151
if expanded_args.value_of("unstable-features") == Some("help") {
5252
let options = CliUnstable::help();

0 commit comments

Comments
 (0)