mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
rustdoc: Fix formatting of -h
This commit is contained in:
parent
be1fdf983f
commit
ec225166cd
@ -73,7 +73,7 @@ fn opts() -> ~[(getopts::Opt, ~str)] {
|
||||
fn usage() {
|
||||
use io::println;
|
||||
|
||||
println(~"Usage: rustdoc ~[options] <cratefile>\n");
|
||||
println(~"Usage: rustdoc [options] <cratefile>\n");
|
||||
println(~"Options:\n");
|
||||
for opts().each |opt| {
|
||||
println(fmt!(" %s", opt.second()));
|
||||
|
Loading…
Reference in New Issue
Block a user