Skip to content

Commit f42e2d8

Browse files
committed
---
yaml --- r: 69496 b: refs/heads/auto c: 436d9fa h: refs/heads/master v: v3
1 parent 2e88115 commit f42e2d8

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: 8f9014c15996321d214a84e0fcd6437874e87483
17+
refs/heads/auto: 436d9fa45d7df98f49bc036de4254d5946478c5c
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1919
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c

branches/auto/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/auto/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/auto/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

0 commit comments

Comments
 (0)