Add verbose option to rustdoc in order to fix problem with --version
closes #20340
This commit is contained in:
parent
84f5ad8679
commit
c11e1551d1
1 changed files with 2 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue