From a9b2ee2afb5bfa69112cc38f92a0345898c4f43e Mon Sep 17 00:00:00 2001 From: Dylan Smith Date: Mon, 13 Oct 2008 19:59:25 -0400 Subject: [PATCH] runtest: Fixed regression that prevented using just the -h option. --- tools/runtest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/runtest b/tools/runtest index 65022f141cb..ad8ef72b66d 100755 --- a/tools/runtest +++ b/tools/runtest @@ -48,7 +48,7 @@ platform=$WINETEST_PLATFORM WINETEST_DEBUG=${WINETEST_DEBUG:-1} # parse command-line options -while [ "$#" -gt 1 ]; do +while [ "$#" -gt 0 ]; do case "$1" in -h) usage @@ -76,7 +76,7 @@ while [ "$#" -gt 1 ]; do shift; topobjdir="$1" if [ ! -d "$topobjdir" ]; then usage; fi ;; - --) + *) break ;; esac -- 2.11.4.GIT