Auto merge of #24101 - remram44:fix-rustdoc-passes-help, r=nikomatsakis

The current help string ("space separated list") suggests that `--passes "pass1 pass2"` is expected; the orrect usage is `--passes pass1 --passes pass2`.
This commit is contained in:
bors 2015-04-07 04:52:03 +00:00
commit c52d46e778
1 changed files with 3 additions and 2 deletions

View File

@ -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"),