]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Improve --help message from test
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 28 May 2012 00:51:57 +0000 (10:51 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 28 May 2012 00:51:57 +0000 (10:51 +1000)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
test

diff --git a/test b/test
index 12741be3927dcc57c4aa249e82add44d05d7dcc9..ce2f1447b246e39608c28eb7621f57a093a2ce58 100755 (executable)
--- a/test
+++ b/test
@@ -238,8 +238,15 @@ do_test() {
 }
 
 do_help() {
-  echo "Usage: "
-  echo " $0 [--tests=<test1,test2,..>] [--disable-multipath] [--logdir] [--save-logs] [--no-error] [setup] [prefix]"
+  echo "Usage: $0 [options]"
+  echo " Options:"
+  echo "    --tests=<test1,test2,..>    Comma separated list of tests to run"
+  echo "    --disable-multipath         Disable any tests involving multipath"
+  echo "    --logdir=<directory>        Directory to save logfiles in"
+  echo "    --save-logs                 Save all logs in <logdir>"
+  echo "    --no-error                  Don't stop on error, ie. run all tests"
+  echo "    setup                       Setup test environment and exit"
+  echo "    <prefix>                    Run tests with <prefix>"
 }
 
 parse_args() {