Skip to content

Commit a021bdb

Browse files
committed
---
yaml --- r: 64858 b: refs/heads/snap-stage3 c: f7ebab4 h: refs/heads/master v: v3
1 parent 8d9a733 commit a021bdb

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 6dd185930d850b653ae4e5f4c37c3f1a2b64e4cf
4+
refs/heads/snap-stage3: f7ebab440322d9c2a20cd8c1e23db789ffdc8685
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/compiletest/compiletest.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ pub fn parse_config(args: ~[~str]) -> config {
8585
if args[1] == ~"-h" || args[1] == ~"--help" {
8686
let message = fmt!("Usage: %s [OPTIONS] [TESTNAME...]", argv0);
8787
println(getopts::groups::usage(message, groups));
88+
println("");
8889
fail!()
8990
}
9091

@@ -97,6 +98,7 @@ pub fn parse_config(args: ~[~str]) -> config {
9798
if getopts::opt_present(matches, "h") || getopts::opt_present(matches, "help") {
9899
let message = fmt!("Usage: %s [OPTIONS] [TESTNAME...]", argv0);
99100
println(getopts::groups::usage(message, groups));
101+
println("");
100102
fail!()
101103
}
102104

branches/snap-stage3/src/libextra/getopts.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ pub mod groups {
680680
return brief.to_owned() +
681681
"\n\nOptions:\n" +
682682
rows.collect::<~[~str]>().connect("\n") +
683-
"\n\n";
683+
"\n";
684684
}
685685

686686
/** Splits a string into substrings with possibly internal whitespace,
@@ -1463,7 +1463,6 @@ Options:
14631463
-k --kiwi Desc
14641464
-p [VAL] Desc
14651465
-l VAL Desc
1466-
14671466
";
14681467
14691468
let generated_usage = groups::usage("Usage: fruits", optgroups);
@@ -1492,7 +1491,6 @@ Options:
14921491
-k --kiwi This is a long description which won't be wrapped..+..
14931492
-a --apple This is a long description which _will_ be
14941493
wrapped..+..
1495-
14961494
";
14971495
14981496
let usage = groups::usage("Usage: fruits", optgroups);

branches/snap-stage3/src/libextra/test.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ fn optgroups() -> ~[getopts::groups::OptGroup] {
191191
fn usage(binary: &str, helpstr: &str) -> ! {
192192
let message = fmt!("Usage: %s [OPTIONS] [FILTER]", binary);
193193
println(groups::usage(message, optgroups()));
194+
println("");
194195
if helpstr == "help" {
195196
println("\
196197
The FILTER is matched against the name of all tests to run, and if any tests

branches/snap-stage3/src/libstd/str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ static UTF8_CHAR_WIDTH: [u8, ..256] = [
712712
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, // 0x9F
713713
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
714714
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, // 0xBF
715-
0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
715+
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
716716
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, // 0xDF
717717
3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3, // 0xEF
718718
4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0, // 0xFF

0 commit comments

Comments
 (0)