Skip to content

Commit c11e155

Browse files
committed
Add verbose option to rustdoc in order to fix problem with --version
closes #20340
1 parent 84f5ad8 commit c11e155

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustdoc/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ pub fn opts() -> Vec<getopts::OptGroup> {
116116
use getopts::*;
117117
vec!(
118118
optflag("h", "help", "show this help message"),
119-
optflagopt("", "version", "print rustdoc's version", "verbose"),
119+
optflag("V", "version", "print rustdoc's version"),
120+
optflag("v", "verbose", "use verbose output"),
120121
optopt("r", "input-format", "the input type of the specified file",
121122
"[rust|json]"),
122123
optopt("w", "output-format", "the output type to write",

0 commit comments

Comments
 (0)