Skip to content

Commit

Permalink
Changes rustdoc --passes help message
Browse files Browse the repository at this point in the history
The current help string ("space separated list") suggests that
`--passes "pass1 pass2"` is expected; the correct usage is
`--passes pass1 --passes pass2`.
  • Loading branch information
remram44 committed Apr 6, 2015
1 parent be9bd7c commit e13f0e9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/librustdoc/lib.rs
Expand Up @@ -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"),
Expand Down

0 comments on commit e13f0e9

Please sign in to comment.