misc help message fix
This commit is contained in:
parent
bbda3fa938
commit
135c85ea8d
1 changed files with 3 additions and 3 deletions
|
|
@ -137,7 +137,7 @@ Additional help:
|
||||||
|
|
||||||
pub fn describe_warnings() {
|
pub fn describe_warnings() {
|
||||||
use extra::sort::Sort;
|
use extra::sort::Sort;
|
||||||
printfln!("
|
println("
|
||||||
Available lint options:
|
Available lint options:
|
||||||
-W <foo> Warn about <foo>
|
-W <foo> Warn about <foo>
|
||||||
-A <foo> Allow <foo>
|
-A <foo> Allow <foo>
|
||||||
|
|
@ -158,7 +158,7 @@ Available lint options:
|
||||||
fn padded(max: uint, s: &str) -> ~str {
|
fn padded(max: uint, s: &str) -> ~str {
|
||||||
str::from_bytes(vec::from_elem(max - s.len(), ' ' as u8)) + s
|
str::from_bytes(vec::from_elem(max - s.len(), ' ' as u8)) + s
|
||||||
}
|
}
|
||||||
printfln!("\nAvailable lint checks:\n");
|
println("\nAvailable lint checks:\n");
|
||||||
printfln!(" %s %7.7s %s",
|
printfln!(" %s %7.7s %s",
|
||||||
padded(max_key, "name"), "default", "meaning");
|
padded(max_key, "name"), "default", "meaning");
|
||||||
printfln!(" %s %7.7s %s\n",
|
printfln!(" %s %7.7s %s\n",
|
||||||
|
|
@ -174,7 +174,7 @@ Available lint options:
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn describe_debug_flags() {
|
pub fn describe_debug_flags() {
|
||||||
printfln!("\nAvailable debug options:\n");
|
println("\nAvailable debug options:\n");
|
||||||
let r = session::debugging_opts_map();
|
let r = session::debugging_opts_map();
|
||||||
for tuple in r.iter() {
|
for tuple in r.iter() {
|
||||||
match *tuple {
|
match *tuple {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue