Improve --help message from test

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
Jes Sorensen 2012-05-28 10:51:57 +10:00 committed by NeilBrown
parent b8e91a32cd
commit 0aaecb4330
1 changed files with 9 additions and 2 deletions

11
test
View File

@ -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() {