mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Fix branch option parsing
Needs an extra `shift`, to remove the second option as well.
This commit is contained in:
parent
6e87dc3e55
commit
5550cfa4dc
|
|
@ -40,6 +40,7 @@ main() {
|
|||
case $1 in
|
||||
-b | --branch )
|
||||
branch=${2:-}
|
||||
shift
|
||||
;;
|
||||
-h | --help )
|
||||
_usage
|
||||
|
|
|
|||
Loading…
Reference in a new issue