Skip to content

Commit

Permalink
Auto merge of #33012 - pravic:describe-L-rustc-option, r=alexcrichton
Browse files Browse the repository at this point in the history
List possible keys of the -L rustc option.

Since `rustc --help -v` does not describe it, only *rustc.1* man page, but there is no man for Windows.

r? @alexcrichton
cc @steveklabnik
  • Loading branch information
bors committed Apr 17, 2016
2 parents d8d7174 + 9da67da commit f207ddb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/librustc/session/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -888,8 +888,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
Expand Down

0 comments on commit f207ddb

Please sign in to comment.