Merge pull request #1207 from rockymadden/client-appname-as-arg-bug

Fixed bug with client commands taking verb, appname, and also arguments.
This commit is contained in:
Jose Diaz-Gonzalez committed 2015-06-25 10:06:02 -04:00
commit 2a469df5e4
1 file changed
+5
+5
View File
@@ -102,6 +102,11 @@ if [[ ! -z $DOKKU_HOST ]]; then
if [[ ! "$1" =~ --* ]]; then if [[ ! "$1" =~ --* ]]; then
verb=$1 verb=$1
shift shift
if [[ "$1" == "$appname" ]]; then
shift
fi
args="$*" args="$*"
else else
long_args="--" long_args="--"