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 2a55b90 commit 7bf9a50Copy full SHA for 7bf9a50
src/bin/cargo/cli.rs
@@ -42,11 +42,11 @@ pub fn main(config: &mut Config) -> CliResult {
42
}
43
44
};
45
-
+
46
// Global args need to be extracted before expanding aliases because the
47
// clap code for extracting a subcommand discards global options
48
// (appearing before the subcommand).
49
- let (expanded_args, global_args) = expand_aliases(config, args)?;
+ let (expanded_args, global_args) = expand_aliases(config, args, vec![])?;
50
51
if expanded_args.value_of("unstable-features") == Some("help") {
52
let options = CliUnstable::help();
0 commit comments