]> git.lizzy.rs Git - rust.git/commitdiff
cli: make help output for -l and -L consistent
authorTshepang Lekhonkhobe <tshepang@gmail.com>
Sat, 6 Jul 2019 03:30:15 +0000 (05:30 +0200)
committerTshepang Lekhonkhobe <tshepang@gmail.com>
Sun, 7 Jul 2019 16:32:39 +0000 (18:32 +0200)
src/librustc/session/config.rs

index 82c53be3ec70ff15316d2fa9d5f34d9333a23090..db8e2f64e3066563bf95d6c2a7cd7c2984754288 100644 (file)
@@ -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(