diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2020-04-01 10:53:24 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2020-04-19 19:53:53 +1000 |
| commit | 2109464cc5b0553c1016dd7acee0951c99796fae (patch) | |
| tree | 2b4ae85fb2583b48c9a263cbb7c3ab5c7b595f9b | |
| parent | a0e52b1e82472e4890202082a0482b178f9d6a16 (diff) | |
| download | rust-2109464cc5b0553c1016dd7acee0951c99796fae.tar.gz rust-2109464cc5b0553c1016dd7acee0951c99796fae.zip | |
Make some option descriptions fit the usual pattern.
- No trailing '.' chars. - Use a lower-case letter at the start.
| -rw-r--r-- | src/librustc_session/options.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/librustc_session/options.rs b/src/librustc_session/options.rs index 94e65093e71..b759887cf5c 100644 --- a/src/librustc_session/options.rs +++ b/src/librustc_session/options.rs @@ -721,7 +721,7 @@ options! {CodegenOptions, CodegenSetter, basic_codegen_options, "linker flavor"), linker_plugin_lto: LinkerPluginLto = (LinkerPluginLto::Disabled, parse_linker_plugin_lto, [TRACKED], - "generate build artifacts that are compatible with linker-based LTO."), + "generate build artifacts that are compatible with linker-based LTO"), profile_generate: SwitchWithOptPath = (SwitchWithOptPath::Disabled, parse_switch_with_opt_path, [TRACKED], "compile the program with profiling instrumentation"), @@ -875,9 +875,9 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options, sanitizer: Option<Sanitizer> = (None, parse_sanitizer, [TRACKED], "use a sanitizer"), sanitizer_recover: Vec<Sanitizer> = (vec![], parse_sanitizer_list, [TRACKED], - "Enable recovery for selected sanitizers"), + "enable recovery for selected sanitizers"), sanitizer_memory_track_origins: usize = (0, parse_sanitizer_memory_track_origins, [TRACKED], - "Enable origins tracking in MemorySanitizer"), + "enable origins tracking in MemorySanitizer"), fuel: Option<(String, u64)> = (None, parse_optimization_fuel, [TRACKED], "set the optimization fuel quota for a crate"), print_fuel: Option<String> = (None, parse_opt_string, [TRACKED], @@ -897,7 +897,7 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options, nll_facts: bool = (false, parse_bool, [UNTRACKED], "dump facts from NLL analysis into side files"), dont_buffer_diagnostics: bool = (false, parse_bool, [UNTRACKED], - "emit diagnostics rather than buffering (breaks NLL error downgrading, sorting)."), + "emit diagnostics rather than buffering (breaks NLL error downgrading, sorting)"), polonius: bool = (false, parse_bool, [UNTRACKED], "enable polonius-based borrow-checker"), thinlto: Option<bool> = (None, parse_opt_bool, [TRACKED], @@ -931,7 +931,7 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options, embed_bitcode: bool = (false, parse_bool, [TRACKED], "embed LLVM bitcode in object files"), strip_debuginfo_if_disabled: Option<bool> = (None, parse_opt_bool, [TRACKED], - "tell the linker to strip debuginfo when building without debuginfo enabled."), + "tell the linker to strip debuginfo when building without debuginfo enabled"), share_generics: Option<bool> = (None, parse_opt_bool, [TRACKED], "make the current crate share its generic instantiations"), no_parallel_llvm: bool = (false, parse_bool, [UNTRACKED], @@ -981,7 +981,7 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options, new_llvm_pass_manager: Option<bool> = (None, parse_opt_bool, [TRACKED], "use new LLVM pass manager"), link_native_libraries: Option<bool> = (None, parse_opt_bool, [UNTRACKED], - "Link native libraries in the linker invocation."), + "link native libraries in the linker invocation"), src_hash_algorithm: Option<SourceFileHashAlgorithm> = (None, parse_src_file_hash, [TRACKED], "hash algorithm of source files in debug info (`md5`, or `sha1`)"), } |
