From: Jes Sorensen Date: Mon, 28 May 2012 00:51:57 +0000 (+1000) Subject: Improve --help message from test X-Git-Tag: mdadm-3.3-rc1~305 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0aaecb43307a44a6df3b752d3916b2bf8e69e728;p=thirdparty%2Fmdadm.git Improve --help message from test Signed-off-by: Jes Sorensen Signed-off-by: NeilBrown --- diff --git a/test b/test index 12741be3..ce2f1447 100755 --- a/test +++ b/test @@ -238,8 +238,15 @@ do_test() { } do_help() { - echo "Usage: " - echo " $0 [--tests=] [--disable-multipath] [--logdir] [--save-logs] [--no-error] [setup] [prefix]" + echo "Usage: $0 [options]" + echo " Options:" + echo " --tests= Comma separated list of tests to run" + echo " --disable-multipath Disable any tests involving multipath" + echo " --logdir= Directory to save logfiles in" + echo " --save-logs Save all logs in " + echo " --no-error Don't stop on error, ie. run all tests" + echo " setup Setup test environment and exit" + echo " Run tests with " } parse_args() {