diff --git a/src/librustdoc/config.rs b/src/librustdoc/config.rs index ef65cc8e5a1b8..942d22fa3fc26 100644 --- a/src/librustdoc/config.rs +++ b/src/librustdoc/config.rs @@ -1,4 +1,4 @@ -// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // @@ -59,15 +59,15 @@ fn opt_help() -> ~str { ~"h" } fn opts() -> ~[(getopts::Opt, ~str)] { ~[ (getopts::optopt(opt_output_dir()), - ~"--output-dir put documents here"), + ~"--output-dir Put documents here (default: .)"), (getopts::optopt(opt_output_format()), - ~"--output-format either 'markdown' or 'html'"), + ~"--output-format 'markdown' or 'html' (default)"), (getopts::optopt(opt_output_style()), - ~"--output-style either 'doc-per-crate' or 'doc-per-mod'"), + ~"--output-style 'doc-per-crate' or 'doc-per-mod' (default)"), (getopts::optopt(opt_pandoc_cmd()), - ~"--pandoc-cmd the command for running pandoc"), + ~"--pandoc-cmd Command for running pandoc"), (getopts::optflag(opt_help()), - ~"-h print help") + ~"-h, --help Print help") ] }