summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2012-05-28 10:51:57 +1000
committerNeilBrown <neilb@suse.de>2012-05-28 10:51:57 +1000
commit0aaecb43307a44a6df3b752d3916b2bf8e69e728 (patch)
tree0303b5fbaec44a353cb2bfce01f4b39a706bb642 /test
parentb8e91a32cdaa2a6dea8b0dd54365ede33d5a9a60 (diff)
Improve --help message from test
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'test')
-rwxr-xr-xtest11
1 files changed, 9 insertions, 2 deletions
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=<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() {