Fix branch option parsing

Needs an extra `shift`, to remove the second option as well.
This commit is contained in:
Robin Winslow 2016-10-29 16:23:28 +01:00
parent 6e87dc3e55
commit 5550cfa4dc

View file

@ -40,6 +40,7 @@ main() {
case $1 in
-b | --branch )
branch=${2:-}
shift
;;
-h | --help )
_usage