Skip to content

Commit 4bf411e

Browse files
committed
Update built-in help for --extern.
1 parent e0058ce commit 4bf411e

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
@@ -1800,7 +1800,7 @@ pub fn rustc_optgroups() -> Vec<RustcOptGroup> {
18001800
"",
18011801
"extern",
18021802
"Specify where an external rust library is located",
1803-
"NAME=PATH",
1803+
"NAME[=PATH]",
18041804
),
18051805
opt::multi_s(
18061806
"",

src/librustdoc/lib.rs

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

0 commit comments

Comments
 (0)