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)
|
||||
display_version
|
||||
;;
|
||||
-h|--help|-*)
|
||||
usage
|
||||
;;
|
||||
--)
|
||||
# ignore the -- itself
|
||||
shift
|
||||
break
|
||||
;;
|
||||
-h|--help|-*)
|
||||
usage
|
||||
;;
|
||||
*)
|
||||
break
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue