about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTyler Mandry <tmandry@gmail.com>2021-04-28 23:54:39 +0000
committerTyler Mandry <tmandry@gmail.com>2021-04-30 04:12:37 +0000
commit1e46b18fec554664f35c73079bec0964429b9fa8 (patch)
treed43ed7fb199507f8e497c60b215367f326f7accf
parentf64c45a7d21f69251b05d796ba52a04e6201eefd (diff)
downloadrust-1e46b18fec554664f35c73079bec0964429b9fa8.tar.gz
rust-1e46b18fec554664f35c73079bec0964429b9fa8.zip
Fix help for profile flags
-rw-r--r--src/bootstrap/flags.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/flags.rs b/src/bootstrap/flags.rs
index dd1e48a1468..d961e067db3 100644
--- a/src/bootstrap/flags.rs
+++ b/src/bootstrap/flags.rs
@@ -223,8 +223,8 @@ To learn more about a subcommand, run `./x.py <subcommand> -h`",
              VALUE overrides the skip-rebuild option in config.toml.",
             "VALUE",
         );
-        opts.optopt("", "rust-profile-generate", "rustc error format", "FORMAT");
-        opts.optopt("", "rust-profile-use", "rustc error format", "FORMAT");
+        opts.optopt("", "rust-profile-generate", "generate PGO profile with rustc build", "FORMAT");
+        opts.optopt("", "rust-profile-use", "use PGO profile for rustc build", "FORMAT");
 
         // We can't use getopt to parse the options until we have completed specifying which
         // options are valid, but under the current implementation, some options are conditional on