Skip to contentSkip to conversation

Add help option on runtests.sh

PATCH Applied Murillo Bernardes 2 participants 2 messages Nov 23, 2005 – Nov 25, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add help option on runtests.sh

Add help option on runtests.sh

Signature · 2 lines
Murillo Fernandes Bernardes
IBM Linux Technology Center
tools/xm-test/runtest.sh +5 -0
diff -r 14d733e5e1d0 tools/xm-test/runtest.sh
@@ -14,6 +14,7 @@
     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
@@ -209,6 +210,10 @@
       -s)
 	  run=no
 	  ;;
+      -h|--help)
+          usage
+          exit 0
+          ;;
       *)
 	  REPORT=$1
 	  break

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel