Add verbose option to rustdoc in order to fix problem with --version

closes #20340
This commit is contained in:
Florian Hahn 2014-12-30 22:27:02 +01:00
parent 84f5ad8679
commit c11e1551d1

View file

@ -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",