Skip to content

Commit 8e62a01

Browse files
committed
Update built-in help for --extern.
1 parent 04c2c60 commit 8e62a01

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/librustc/session/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1804,7 +1804,7 @@ pub fn rustc_optgroups() -> Vec<RustcOptGroup> {
18041804
"",
18051805
"extern",
18061806
"Specify where an external rust library is located",
1807-
"NAME=PATH",
1807+
"NAME[=PATH]",
18081808
),
18091809
opt::multi_s(
18101810
"",

src/librustdoc/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ fn opts() -> Vec<RustcOptGroup> {
139139
}),
140140
stable("cfg", |o| o.optmulti("", "cfg", "pass a --cfg to rustc", "")),
141141
stable("extern", |o| {
142-
o.optmulti("", "extern", "pass an --extern to rustc", "NAME=PATH")
142+
o.optmulti("", "extern", "pass an --extern to rustc", "NAME[=PATH]")
143143
}),
144144
unstable("extern-html-root-url", |o| {
145145
o.optmulti("", "extern-html-root-url",

0 commit comments

Comments
 (0)