commit | a9b2ee2afb5bfa69112cc38f92a0345898c4f43e | [log] [tgz] |
---|---|---|
author | Dylan Smith <dylan.ah.smith@gmail.com> | Mon Oct 13 19:59:25 2008 -0400 |
committer | Alexandre Julliard <julliard@winehq.org> | Tue Oct 14 13:41:56 2008 +0200 |
tree | 47bbc00881a66d856426cd888f28d36f807cf7c0 | |
parent | 17bf6ef8fc516e57f64d2d032bed004117ca0019 [diff] [blame] |
runtest: Fixed regression that prevented using just the -h option.
diff --git a/tools/runtest b/tools/runtest index 65022f1..ad8ef72 100755 --- a/tools/runtest +++ b/tools/runtest
@@ -48,7 +48,7 @@ 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 @@ shift; topobjdir="$1" if [ ! -d "$topobjdir" ]; then usage; fi ;; - --) + *) break ;; esac