about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2018-07-30 12:52:01 +0200
committerRalf Jung <post@ralfj.de>2018-07-30 13:10:55 +0200
commitf8d1dc88a7994d25e481d0272b555b22f9026afb (patch)
treea8c804953e2e0ef1970b34ddf25c5200264970da /src/bootstrap
parent7bbcd005b30582d07f1a39dcf50f77b54e055828 (diff)
downloadrust-f8d1dc88a7994d25e481d0272b555b22f9026afb.tar.gz
rust-f8d1dc88a7994d25e481d0272b555b22f9026afb.zip
improve --stage documentation
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/flags.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bootstrap/flags.rs b/src/bootstrap/flags.rs
index 6a013053e58..23a02c86683 100644
--- a/src/bootstrap/flags.rs
+++ b/src/bootstrap/flags.rs
@@ -121,7 +121,10 @@ To learn more about a subcommand, run `./x.py <subcommand> -h`"
         opts.optmulti("", "exclude", "build paths to exclude", "PATH");
         opts.optopt("", "on-fail", "command to run on failure", "CMD");
         opts.optflag("", "dry-run", "dry run; don't build anything");
-        opts.optopt("", "stage", "stage to build", "N");
+        opts.optopt("", "stage",
+            "stage to build (indicates compiler to use/test, e.g. stage 0 uses the \
+             bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)",
+            "N");
         opts.optmulti("", "keep-stage", "stage(s) to keep without recompiling", "N");
         opts.optopt("", "src", "path to the root of the rust checkout", "DIR");
         opts.optopt("j", "jobs", "number of jobs to run in parallel", "JOBS");