Module: wine Branch: master Commit: a9b2ee2afb5bfa69112cc38f92a0345898c4f43e URL: http://source.winehq.org/git/wine.git/?a=commit;h=a9b2ee2afb5bfa69112cc38f92...
Author: Dylan Smith dylan.ah.smith@gmail.com Date: Mon Oct 13 19:59:25 2008 -0400
runtest: Fixed regression that prevented using just the -h option.
---
tools/runtest | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/runtest b/tools/runtest index 65022f1..ad8ef72 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