From 0aaecb43307a44a6df3b752d3916b2bf8e69e728 Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Mon, 28 May 2012 10:51:57 +1000 Subject: [PATCH] Improve --help message from test Signed-off-by: Jes Sorensen Signed-off-by: NeilBrown --- test | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/test b/test index 12741be..ce2f144 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() {