Skip to content

Commit 9da67da

Browse files
committed
Describe possible keys of the -L rustc option.
1 parent 5d5f4b5 commit 9da67da

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/librustc/session/config.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -889,8 +889,9 @@ pub fn rustc_short_optgroups() -> Vec<RustcOptGroup> {
889889
vec![
890890
opt::flag_s("h", "help", "Display this message"),
891891
opt::multi_s("", "cfg", "Configure the compilation environment", "SPEC"),
892-
opt::multi_s("L", "", "Add a directory to the library search path",
893-
"[KIND=]PATH"),
892+
opt::multi_s("L", "", "Add a directory to the library search path. The
893+
optional KIND can be one of dependency, crate, native,
894+
framework or all (the default).", "[KIND=]PATH"),
894895
opt::multi_s("l", "", "Link the generated crate(s) to the specified native
895896
library NAME. The optional KIND can be one of
896897
static, dylib, or framework. If omitted, dylib is

0 commit comments

Comments
 (0)