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 750db09 commit 2b42a2bCopy full SHA for 2b42a2b
src/bootstrap/flags.rs
@@ -503,6 +503,20 @@ Arguments:
503
}
504
};
505
506
+ if let Subcommand::Check { .. } = &cmd {
507
+ if matches.opt_str("stage").is_some() {
508
+ println!("{}", "--stage not supported for x.py check, always treated as stage 0");
509
+ process::exit(1);
510
+ }
511
+ if matches.opt_str("keep-stage").is_some() {
512
+ println!(
513
+ "{}",
514
+ "--keep-stage not supported for x.py check, only one stage available"
515
+ );
516
517
518
519
+
520
Flags {
521
verbose: matches.opt_count("verbose"),
522
stage: matches.opt_str("stage").map(|j| j.parse().expect("`stage` should be a number")),
0 commit comments