Skip to content

Commit 31aad48

Browse files
committed
fix cmd-line parser
1 parent 80303fd commit 31aad48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/udroid/udroid.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ download() {
8484

8585
if [ $# -ge 0 ]; then
8686
case $1 in
87-
-l) shift _login $* ;;
88-
-i|--install) shift _install $1 ;;
87+
-l) shift; _login $* ;;
88+
-i|--install) shift;_install $1 ;;
8989
*) l_login $*;;
9090
esac
9191
fi

0 commit comments

Comments
 (0)