From c11e1551d1adcaa5791438e9c604068cfdbea7cb Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Tue, 30 Dec 2014 22:27:02 +0100 Subject: [PATCH] Add verbose option to rustdoc in order to fix problem with --version closes #20340 --- src/librustdoc/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { 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",