From 1e46b18fec554664f35c73079bec0964429b9fa8 Mon Sep 17 00:00:00 2001 From: Tyler Mandry Date: Wed, 28 Apr 2021 23:54:39 +0000 Subject: [PATCH] Fix help for profile flags --- src/bootstrap/flags.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bootstrap/flags.rs b/src/bootstrap/flags.rs index dd1e48a14684f..d961e067db37c 100644 --- a/src/bootstrap/flags.rs +++ b/src/bootstrap/flags.rs @@ -223,8 +223,8 @@ To learn more about a subcommand, run `./x.py -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