about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2019-07-06 05:30:15 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2019-07-07 18:32:39 +0200
commit8353007e56992d3cd39a4bbf754c4745f731a061 (patch)
tree4e3a544e6a0d04afea927a89414adaebb04b6bcf /src
parentdd2e8040a35883574ae0c4cc7a4e887ecb66469c (diff)
downloadrust-8353007e56992d3cd39a4bbf754c4745f731a061.tar.gz
rust-8353007e56992d3cd39a4bbf754c4745f731a061.zip
cli: make help output for -l and -L consistent
Diffstat (limited to 'src')
-rw-r--r--src/librustc/session/config.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/librustc/session/config.rs b/src/librustc/session/config.rs
index 82c53be3ec7..db8e2f64e30 100644
--- a/src/librustc/session/config.rs
+++ b/src/librustc/session/config.rs
@@ -1707,7 +1707,7 @@ pub fn rustc_short_optgroups() -> Vec<RustcOptGroup> {
             "",
             "Add a directory to the library search path. The
                              optional KIND can be one of dependency, crate, native,
-                             framework or all (the default).",
+                             framework, or all (the default).",
             "[KIND=]PATH",
         ),
         opt::multi_s(
@@ -1715,8 +1715,7 @@ pub fn rustc_short_optgroups() -> Vec<RustcOptGroup> {
             "",
             "Link the generated crate(s) to the specified native
                              library NAME. The optional KIND can be one of
-                             static, dylib, or framework. If omitted, dylib is
-                             assumed.",
+                             static, framework, or dylib (the default).",
             "[KIND=]NAME",
         ),
         opt::multi_s(