only look for long args in global space. allows for short args in plugins. closes #963

This commit is contained in:
Michael Hobbs committed 2015-02-09 16:59:07 -08:00
1 parent 8b7b2107f4
commit e5fb746a7f
3 files changed
+8 -7

No files matched your search

+2 -2
View File
@@ -19,7 +19,7 @@ source "$PLUGIN_PATH/common/functions"
parse_args "$@"
for arg in "$@"; do
[[ "$arg" =~ ^-.* ]] && shift 1
[[ "$arg" =~ ^--.* ]] && shift 1
done
! has_tty && DOKKU_QUIET_OUTPUT=1
@@ -150,7 +150,7 @@ case "$1" in
;;
help|'')
echo "Usage: dokku [-q|--quiet|-t|--trace|--rm-container|--rm] COMMAND <app> [command-specific-options]"
echo "Usage: dokku [--quiet|--trace|--rm-container|--rm|--force] COMMAND <app> [command-specific-options]"
echo ""
echo "Options:"