Auto merge of #33012 - pravic:describe-L-rustc-option, r=alexcrichton

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
This commit is contained in:
bors 2016-04-17 03:24:46 -07:00
commit f207ddb9bf

View File

@ -888,8 +888,9 @@ pub fn rustc_short_optgroups() -> Vec<RustcOptGroup> {
vec![ vec![
opt::flag_s("h", "help", "Display this message"), opt::flag_s("h", "help", "Display this message"),
opt::multi_s("", "cfg", "Configure the compilation environment", "SPEC"), opt::multi_s("", "cfg", "Configure the compilation environment", "SPEC"),
opt::multi_s("L", "", "Add a directory to the library search path", opt::multi_s("L", "", "Add a directory to the library search path. The
"[KIND=]PATH"), 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 opt::multi_s("l", "", "Link the generated crate(s) to the specified native
library NAME. The optional KIND can be one of library NAME. The optional KIND can be one of
static, dylib, or framework. If omitted, dylib is static, dylib, or framework. If omitted, dylib is