Skip to content

Commit

Permalink
Add verbose option to rustdoc in order to fix problem with --version
Browse files Browse the repository at this point in the history
closes #20340
  • Loading branch information
fhahn committed Dec 30, 2014
1 parent 84f5ad8 commit c11e155
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/librustdoc/lib.rs
Expand Up @@ -116,7 +116,8 @@ pub fn opts() -> Vec<getopts::OptGroup> {
use getopts::*;
vec!(
optflag("h", "help", "show this help message"),
optflagopt("", "version", "print rustdoc's version", "verbose"),
optflag("V", "version", "print rustdoc's version"),
optflag("v", "verbose", "use verbose output"),
optopt("r", "input-format", "the input type of the specified file",
"[rust|json]"),
optopt("w", "output-format", "the output type to write",
Expand Down

0 comments on commit c11e155

Please sign in to comment.