Skip to content

Commit 83fbf62

Browse files
authored
Rollup merge of #63360 - brson:cz-help, r=Mark-Simulacrum
Use consistent capitalization in -C/-Z help This code could also use a pass to consistify the grammar, but not by me atm.
2 parents d37393c + c03077b commit 83fbf62

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/librustc/session/config.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,7 @@ options! {CodegenOptions, CodegenSetter, basic_codegen_options,
11551155
passes: Vec<String> = (Vec::new(), parse_list, [TRACKED],
11561156
"a list of extra LLVM passes to run (space separated)"),
11571157
llvm_args: Vec<String> = (Vec::new(), parse_list, [TRACKED],
1158-
"a list of arguments to pass to llvm (space separated)"),
1158+
"a list of arguments to pass to LLVM (space separated)"),
11591159
save_temps: bool = (false, parse_bool, [UNTRACKED],
11601160
"save all temporary output files during compilation"),
11611161
rpath: bool = (false, parse_bool, [UNTRACKED],
@@ -1208,7 +1208,7 @@ options! {CodegenOptions, CodegenSetter, basic_codegen_options,
12081208
default_linker_libraries: Option<bool> = (None, parse_opt_bool, [UNTRACKED],
12091209
"allow the linker to link its default libraries"),
12101210
linker_flavor: Option<LinkerFlavor> = (None, parse_linker_flavor, [UNTRACKED],
1211-
"Linker flavor"),
1211+
"linker flavor"),
12121212
linker_plugin_lto: LinkerPluginLto = (LinkerPluginLto::Disabled,
12131213
parse_linker_plugin_lto, [TRACKED],
12141214
"generate build artifacts that are compatible with linker-based LTO."),
@@ -1255,7 +1255,7 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
12551255
print_link_args: bool = (false, parse_bool, [UNTRACKED],
12561256
"print the arguments passed to the linker"),
12571257
print_llvm_passes: bool = (false, parse_bool, [UNTRACKED],
1258-
"prints the llvm optimization passes being run"),
1258+
"prints the LLVM optimization passes being run"),
12591259
ast_json: bool = (false, parse_bool, [UNTRACKED],
12601260
"print the AST as JSON and halt"),
12611261
threads: Option<usize> = (None, parse_opt_uint, [UNTRACKED],
@@ -1375,11 +1375,11 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
13751375
osx_rpath_install_name: bool = (false, parse_bool, [TRACKED],
13761376
"pass `-install_name @rpath/...` to the macOS linker"),
13771377
sanitizer: Option<Sanitizer> = (None, parse_sanitizer, [TRACKED],
1378-
"Use a sanitizer"),
1378+
"use a sanitizer"),
13791379
fuel: Option<(String, u64)> = (None, parse_optimization_fuel, [TRACKED],
13801380
"set the optimization fuel quota for a crate"),
13811381
print_fuel: Option<String> = (None, parse_opt_string, [TRACKED],
1382-
"make Rustc print the total optimization fuel used by a crate"),
1382+
"make rustc print the total optimization fuel used by a crate"),
13831383
force_unstable_if_unmarked: bool = (false, parse_bool, [TRACKED],
13841384
"force all crates to be `rustc_private` unstable"),
13851385
pre_link_arg: Vec<String> = (vec![], parse_string_push, [UNTRACKED],
@@ -1417,7 +1417,7 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
14171417
"in dep-info output, omit targets for tracking dependencies of the dep-info files \
14181418
themselves"),
14191419
unpretty: Option<String> = (None, parse_unpretty, [UNTRACKED],
1420-
"Present the input source, unstable (and less-pretty) variants;
1420+
"present the input source, unstable (and less-pretty) variants;
14211421
valid types are any of the types for `--pretty`, as well as:
14221422
`expanded`, `expanded,identified`,
14231423
`expanded,hygiene` (with internal representations),

0 commit comments

Comments
 (0)