File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,6 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
14
14
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
15
15
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
16
16
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17
- refs/heads/auto: 8f9014c15996321d214a84e0fcd6437874e87483
17
+ refs/heads/auto: 436d9fa45d7df98f49bc036de4254d5946478c5c
18
18
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
19
19
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ pub fn parse_config(args: ~[~str]) -> config {
85
85
if args[ 1 ] == ~"-h" || args[ 1 ] == ~"--help" {
86
86
let message = fmt ! ( "Usage: %s [OPTIONS] [TESTNAME...]" , argv0) ;
87
87
println ( getopts:: groups:: usage ( message, groups) ) ;
88
+ println ( "" ) ;
88
89
fail ! ( )
89
90
}
90
91
@@ -97,6 +98,7 @@ pub fn parse_config(args: ~[~str]) -> config {
97
98
if getopts:: opt_present ( matches, "h" ) || getopts:: opt_present ( matches, "help" ) {
98
99
let message = fmt ! ( "Usage: %s [OPTIONS] [TESTNAME...]" , argv0) ;
99
100
println ( getopts:: groups:: usage ( message, groups) ) ;
101
+ println ( "" ) ;
100
102
fail ! ( )
101
103
}
102
104
Original file line number Diff line number Diff line change @@ -680,7 +680,7 @@ pub mod groups {
680
680
return brief. to_owned ( ) +
681
681
"\n \n Options:\n " +
682
682
rows. collect :: < ~[ ~str ] > ( ) . connect ( "\n " ) +
683
- "\n \n " ;
683
+ "\n " ;
684
684
}
685
685
686
686
/** Splits a string into substrings with possibly internal whitespace,
@@ -1463,7 +1463,6 @@ Options:
1463
1463
-k --kiwi Desc
1464
1464
-p [ VAL ] Desc
1465
1465
-l VAL Desc
1466
-
1467
1466
";
1468
1467
1469
1468
let generated_usage = groups::usage(" Usage : fruits", optgroups);
@@ -1492,7 +1491,6 @@ Options:
1492
1491
-k --kiwi This is a long description which won' t be wrapped..+..
1493
1492
-a --apple This is a long description which _will_ be
1494
1493
wrapped..+..
1495
-
1496
1494
";
1497
1495
1498
1496
let usage = groups::usage(" Usage : fruits", optgroups);
Original file line number Diff line number Diff line change @@ -191,6 +191,7 @@ fn optgroups() -> ~[getopts::groups::OptGroup] {
191
191
fn usage ( binary : & str , helpstr : & str ) -> ! {
192
192
let message = fmt ! ( "Usage: %s [OPTIONS] [FILTER]" , binary) ;
193
193
println ( groups:: usage ( message, optgroups ( ) ) ) ;
194
+ println ( "" ) ;
194
195
if helpstr == "help" {
195
196
println ( "\
196
197
The FILTER is matched against the name of all tests to run, and if any tests
You can’t perform that action at this time.
0 commit comments