Commit a9b2ee2a authored by Dylan Smith's avatar Dylan Smith Committed by Alexandre Julliard

runtest: Fixed regression that prevented using just the -h option.

parent 17bf6ef8
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment