From mboxrd@z Thu Jan 1 00:00:00 1970 From: Murillo Bernardes Subject: [PATCH][XM-TEST] Add help option on runtests.sh Date: Wed, 23 Nov 2005 18:33:28 -0200 Message-ID: <200511231833.28438.mfb@br.ibm.com> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_YINhDyfMa8XREfh" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --Boundary-00=_YINhDyfMa8XREfh Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Add help option on runtests.sh Signed-off-by: Murillo Fernandes Bernardes -- Murillo Fernandes Bernardes IBM Linux Technology Center --Boundary-00=_YINhDyfMa8XREfh Content-Type: text/x-diff; charset="iso-8859-1"; name="xm-test_runtest_help.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xm-test_runtest_help.patch" diff -r 14d733e5e1d0 tools/xm-test/runtest.sh --- a/tools/xm-test/runtest.sh Wed Nov 23 13:15:35 2005 +++ b/tools/xm-test/runtest.sh Wed Nov 23 18:30:31 2005 @@ -14,6 +14,7 @@ echo " -q : run a quick test set" echo " -e : set email address for report" echo " -s : just submit 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 --Boundary-00=_YINhDyfMa8XREfh Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --Boundary-00=_YINhDyfMa8XREfh--