about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2015-08-18 13:59:18 -0400
committerSteve Klabnik <steve@steveklabnik.com>2015-08-18 13:59:18 -0400
commitb2dc2ef709fcb804c4af4ee0bbf2712154ee5acb (patch)
tree79b153ef3331b93f3955a6ce2132cad0011d4dda
parentc6291e04cc620ce3824d8bccdb8a5bd923fcd741 (diff)
downloadrust-b2dc2ef709fcb804c4af4ee0bbf2712154ee5acb.tar.gz
rust-b2dc2ef709fcb804c4af4ee0bbf2712154ee5acb.zip
Make distinction between -l and --extern more clear
Fixes #27686
-rw-r--r--man/rustc.15
1 files changed, 3 insertions, 2 deletions
diff --git a/man/rustc.1 b/man/rustc.1
index 0cb1c5dc32b..3ac79ecae64 100644
--- a/man/rustc.1
+++ b/man/rustc.1
@@ -41,7 +41,7 @@ look for anything here (the default)
 .RE
 .TP
 \fB\-l\fR [\fIKIND\fR=]\fINAME\fR
-Link the generated crate(s) to the specified native library \fINAME\fR.
+Link the generated crate(s) to the specified library \fINAME\fR.
 The optional \fIKIND\fR can be one of \fIstatic\fR, \fIdylib\fR, or
 \fIframework\fR.
 If omitted, \fIdylib\fR is assumed.
@@ -113,7 +113,8 @@ Print version info and exit.
 Use verbose output.
 .TP
 \fB\-\-extern\fR \fINAME\fR=\fIPATH\fR
-Specify where an external rust library is located.
+Specify where an external rust library is located. These should match
+\fIextern\fR declarations in the crate's source code.
 .TP
 \fB\-\-sysroot\fR \fIPATH\fR
 Override the system root.