Skip to content

Commit 1e46b18

Browse files
committed
Fix help for profile flags
1 parent f64c45a commit 1e46b18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bootstrap/flags.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ To learn more about a subcommand, run `./x.py <subcommand> -h`",
223223
VALUE overrides the skip-rebuild option in config.toml.",
224224
"VALUE",
225225
);
226-
opts.optopt("", "rust-profile-generate", "rustc error format", "FORMAT");
227-
opts.optopt("", "rust-profile-use", "rustc error format", "FORMAT");
226+
opts.optopt("", "rust-profile-generate", "generate PGO profile with rustc build", "FORMAT");
227+
opts.optopt("", "rust-profile-use", "use PGO profile for rustc build", "FORMAT");
228228

229229
// We can't use getopt to parse the options until we have completed specifying which
230230
// options are valid, but under the current implementation, some options are conditional on

0 commit comments

Comments
 (0)