about summary refs log tree commit diff
diff options
context:
space:
mode:
authorpravic <ehysta@gmail.com>2016-04-15 23:55:42 +0300
committerpravic <ehysta@gmail.com>2016-04-15 23:55:42 +0300
commit9da67dae52e18a078d071acbcad592a5f02a8392 (patch)
treefed7db6895ed1ab4925ccff7a34eb42401bc706d
parent5d5f4b5e3fcd377400bcc2140621cff6fd73a617 (diff)
downloadrust-9da67dae52e18a078d071acbcad592a5f02a8392.tar.gz
rust-9da67dae52e18a078d071acbcad592a5f02a8392.zip
Describe possible keys of the -L rustc option.
-rw-r--r--src/librustc/session/config.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/librustc/session/config.rs b/src/librustc/session/config.rs
index 4ea6baca367..7c45e2f8852 100644
--- a/src/librustc/session/config.rs
+++ b/src/librustc/session/config.rs
@@ -889,8 +889,9 @@ pub fn rustc_short_optgroups() -> Vec<RustcOptGroup> {
     vec![
         opt::flag_s("h", "help", "Display this message"),
         opt::multi_s("", "cfg", "Configure the compilation environment", "SPEC"),
-        opt::multi_s("L", "",   "Add a directory to the library search path",
-                   "[KIND=]PATH"),
+        opt::multi_s("L", "",   "Add a directory to the library search path. The
+                             optional KIND can be one of dependency, crate, native,
+                             framework or all (the default).", "[KIND=]PATH"),
         opt::multi_s("l", "",   "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