move -* check at the right location
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
25d8a2e2fb
commit
23b2fcee08
1 changed files with 3 additions and 3 deletions
|
@ -155,14 +155,14 @@ while [ "$#" -ge 1 ]; do
|
||||||
-V|--version)
|
-V|--version)
|
||||||
display_version
|
display_version
|
||||||
;;
|
;;
|
||||||
-h|--help|-*)
|
|
||||||
usage
|
|
||||||
;;
|
|
||||||
--)
|
--)
|
||||||
# ignore the -- itself
|
# ignore the -- itself
|
||||||
shift
|
shift
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
|
-h|--help|-*)
|
||||||
|
usage
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue