Skip to content

Commit f8d1dc8

Browse files
committed
improve --stage documentation
1 parent 7bbcd00 commit f8d1dc8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/bootstrap/flags.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,10 @@ To learn more about a subcommand, run `./x.py <subcommand> -h`"
121121
opts.optmulti("", "exclude", "build paths to exclude", "PATH");
122122
opts.optopt("", "on-fail", "command to run on failure", "CMD");
123123
opts.optflag("", "dry-run", "dry run; don't build anything");
124-
opts.optopt("", "stage", "stage to build", "N");
124+
opts.optopt("", "stage",
125+
"stage to build (indicates compiler to use/test, e.g. stage 0 uses the \
126+
bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)",
127+
"N");
125128
opts.optmulti("", "keep-stage", "stage(s) to keep without recompiling", "N");
126129
opts.optopt("", "src", "path to the root of the rust checkout", "DIR");
127130
opts.optopt("j", "jobs", "number of jobs to run in parallel", "JOBS");

0 commit comments

Comments
 (0)