diff --git a/config/bash_completion.d/ee b/config/bash_completion.d/ee index baf5dad3..a2e94e70 100644 --- a/config/bash_completion.d/ee +++ b/config/bash_completion.d/ee @@ -102,8 +102,10 @@ function EE_AUTO() ;; *) - if [ "$PREVIOUS2" = "create" ] || [ "$PREVIOUS2" = "update" ]; then + if [ "$PREVIOUS2" = "create" ]; then COMPREPLY=( $( compgen -W "--html --php --mysql --wp --wpsubdir --wpsubdomain" -- $CURRENT ) ) + elif [ "$PREVIOUS2" = "update" ]; then + COMPREPLY=( $( compgen -W "--wp --wpsubdir --wpsubdomain" -- $CURRENT ) ) elif [ "$PREVIOUS2" = "delete" ]; then COMPREPLY=( $( compgen -W "--db --all --files --no-prompt" -- $CURRENT ) ) fi