mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Add help option on runtests.sh
Signed-off-by: Murillo Fernandes Bernardes <mfb@br.ibm.com>
This commit is contained in:
1 parent
e0f31705c8
commit
a8845ad36e
1 file changed
+5
@@ -14,6 +14,7 @@ usage() {
|
||||
echo " -q : run a quick test set"
|
||||
echo " -e <email> : set email address for report"
|
||||
echo " -s <report> : just submit report <report>"
|
||||
echo " -h | --help : show this help"
|
||||
}
|
||||
|
||||
# Just submit the report
|
||||
@@ -218,6 +219,10 @@ while [ $# -gt 0 ]
|
||||
-s)
|
||||
run=no
|
||||
;;
|
||||
-h|--help)
|
||||
usage
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
REPORT=$1
|
||||
break
|
||||
|
||||