about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2014-12-30 22:27:02 +0100
committerFlorian Hahn <flo@fhahn.com>2014-12-30 22:27:02 +0100
commitc11e1551d1adcaa5791438e9c604068cfdbea7cb (patch)
tree3378f0bed5ce9570d81cbc9687440807d52c80b0
parent84f5ad8679c7fc454473ffbf389030f3e5fee379 (diff)
Add verbose option to rustdoc in order to fix problem with --version
closes #20340
-rw-r--r--src/librustdoc/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs
index 8b66d5751e4..ccdc8164255 100644
--- a/src/librustdoc/lib.rs
+++ b/src/librustdoc/lib.rs
@@ -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",