move -* check at the right location

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2009-10-25 15:26:17 +01:00
parent 25d8a2e2fb
commit 23b2fcee08

View file

@ -155,14 +155,14 @@ while [ "$#" -ge 1 ]; do
-V|--version)
display_version
;;
-h|--help|-*)
usage
;;
--)
# ignore the -- itself
shift
break
;;
-h|--help|-*)
usage
;;
*)
break
;;