mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 11:07:42 +00:00
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:
commit
f207ddb9bf
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user