summary refs log tree commit diff
path: root/src/compiletest
diff options
context:
space:
mode:
authorJordi Boggiano <j.boggiano@seld.be>2013-07-30 18:35:45 +0200
committerJordi Boggiano <j.boggiano@seld.be>2013-07-30 18:40:01 +0200
commitf7ebab440322d9c2a20cd8c1e23db789ffdc8685 (patch)
treeab922d85833acce719d2c05d2d59d865a570bf53 /src/compiletest
parent576f395ddfe3a47859df0419a0366abf7a8c185b (diff)
downloadrust-f7ebab440322d9c2a20cd8c1e23db789ffdc8685.tar.gz
rust-f7ebab440322d9c2a20cd8c1e23db789ffdc8685.zip
Do not enforce two newlines after the options
Diffstat (limited to 'src/compiletest')
-rw-r--r--src/compiletest/compiletest.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiletest/compiletest.rs b/src/compiletest/compiletest.rs
index 956e8aaad23..894a372ac64 100644
--- a/src/compiletest/compiletest.rs
+++ b/src/compiletest/compiletest.rs
@@ -85,6 +85,7 @@ pub fn parse_config(args: ~[~str]) -> config {
     if args[1] == ~"-h" || args[1] == ~"--help" {
         let message = fmt!("Usage: %s [OPTIONS] [TESTNAME...]", argv0);
         println(getopts::groups::usage(message, groups));
+        println("");
         fail!()
     }
 
@@ -97,6 +98,7 @@ pub fn parse_config(args: ~[~str]) -> config {
     if getopts::opt_present(matches, "h") || getopts::opt_present(matches, "help") {
         let message = fmt!("Usage: %s [OPTIONS]  [TESTNAME...]", argv0);
         println(getopts::groups::usage(message, groups));
+        println("");
         fail!()
     }