about summary refs log tree commit diff
diff options
context:
space:
mode:
authoroyvindln <oyvindln@users.noreply.github.com>2017-09-13 20:11:02 +0200
committeroyvindln <oyvindln@users.noreply.github.com>2017-09-13 20:11:02 +0200
commitedf1622bb4f3bd2ba8c8cd13c12a22e7d776120f (patch)
tree0234a0d827e479e6b9fefab0d6395fe70b4e38d7
parent824952f48b85806c498d700f183dfc42b516cc7d (diff)
downloadrust-edf1622bb4f3bd2ba8c8cd13c12a22e7d776120f.tar.gz
rust-edf1622bb4f3bd2ba8c8cd13c12a22e7d776120f.zip
Add proper help line for inline threshold
Also remove a period on a different help line for consistency
-rw-r--r--src/librustc/session/config.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/session/config.rs b/src/librustc/session/config.rs
index 59f600f3907..a4b13bb2f4d 100644
--- a/src/librustc/session/config.rs
+++ b/src/librustc/session/config.rs
@@ -905,7 +905,7 @@ options! {CodegenOptions, CodegenSetter, basic_codegen_options,
     debug_assertions: Option<bool> = (None, parse_opt_bool, [TRACKED],
         "explicitly enable the cfg(debug_assertions) directive"),
     inline_threshold: Option<usize> = (None, parse_opt_uint, [TRACKED],
-        "set the inlining threshold for"),
+        "set the threshold for inlining a function (default: 225)"),
     panic: Option<PanicStrategy> = (None, parse_panic_strategy,
         [TRACKED], "panic strategy to compile crate with"),
 }
@@ -1052,7 +1052,7 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
     linker_flavor: Option<LinkerFlavor> = (None, parse_linker_flavor, [UNTRACKED],
                                            "Linker flavor"),
     fuel: Option<(String, u64)> = (None, parse_optimization_fuel, [TRACKED],
-        "Set the optimization fuel quota for a crate."),
+        "Set the optimization fuel quota for a crate"),
     print_fuel: Option<String> = (None, parse_opt_string, [TRACKED],
         "Make Rustc print the total optimization fuel used by a crate."),
     remap_path_prefix_from: Vec<String> = (vec![], parse_string_push, [TRACKED],