Changes rustdoc --passes help message
The current help string ("space separated list") suggests that `--passes "pass1 pass2"` is expected; the correct usage is `--passes pass1 --passes pass2`.
This commit is contained in:
parent
be9bd7c93a
commit
e13f0e9a25
@ -154,8 +154,9 @@ pub fn opts() -> Vec<getopts::OptGroup> {
|
||||
optmulti("", "cfg", "pass a --cfg to rustc", ""),
|
||||
optmulti("", "extern", "pass an --extern to rustc", "NAME=PATH"),
|
||||
optmulti("", "plugin-path", "directory to load plugins from", "DIR"),
|
||||
optmulti("", "passes", "space separated list of passes to also run, a \
|
||||
value of `list` will print available passes",
|
||||
optmulti("", "passes", "list of passes to also run, you might want \
|
||||
to pass it multiple times; a value of `list` \
|
||||
will print available passes",
|
||||
"PASSES"),
|
||||
optmulti("", "plugins", "space separated list of plugins to also load",
|
||||
"PLUGINS"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user