]> git.lizzy.rs Git - rust.git/commitdiff
bootstrap: improve 'build --help' by explaining what exactly the last example does
authorRalf Jung <post@ralfj.de>
Tue, 6 Jun 2017 21:26:56 +0000 (14:26 -0700)
committerRalf Jung <post@ralfj.de>
Tue, 6 Jun 2017 21:26:56 +0000 (14:26 -0700)
src/bootstrap/flags.rs

index f100baa5d2ca7181be6fc4f93847ef5a8439b97b..3a265b2f3bbb78b68cf4909f893ab99f9a38810a 100644 (file)
@@ -198,7 +198,11 @@ pub fn parse(args: &[String]) -> Flags {
 
     For a quick build with a usable compile, you can pass:
 
-        ./x.py build --stage 1 src/libtest");
+        ./x.py build --stage 1 src/libtest
+
+    This will first build everything once (like --stage 0 without further
+    arguments would), and then use the compiler built in stage 0 to build
+    src/libtest and its dependencies.");
             }
             "test" => {
                 subcommand_help.push_str("\n