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:
Remi Rampin 2015-04-05 22:32:09 -04:00
parent be9bd7c93a
commit e13f0e9a25
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"),