diff options
| author | Florian Hahn <flo@fhahn.com> | 2014-12-30 22:27:02 +0100 |
|---|---|---|
| committer | Florian Hahn <flo@fhahn.com> | 2014-12-30 22:27:02 +0100 |
| commit | c11e1551d1adcaa5791438e9c604068cfdbea7cb (patch) | |
| tree | 3378f0bed5ce9570d81cbc9687440807d52c80b0 | |
| parent | 84f5ad8679c7fc454473ffbf389030f3e5fee379 (diff) | |
Add verbose option to rustdoc in order to fix problem with --version
closes #20340
| -rw-r--r-- | src/librustdoc/lib.rs | 3 |
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", |
