File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -79,10 +79,15 @@ function EE_AUTO()
7979 ;;
8080
8181 --nginx|--rewrite|--php|--fpm|--mysql)
82- COMPREPLY=( $(compgen -W '$(command cd /usr/local/lib/easyengine/modules/debug/; find -type f | grep debug | cut -d'_' -f4 | cut -d '.' -f1 | sed 's/^/--/g' 2> /dev/null)' -- $CURRENT) )
82+ if [ "$PREVIOUS" = "--mysql" ]; then
83+ COMPREPLY=( $(compgen -W '$(echo --import-slow-log-interval; command cd /usr/local/lib/easyengine/modules/debug/; find -type f | grep debug | cut -d'_' -f4 | cut -d '.' -f1 | sed 's/^/--/g' 2> /dev/null)' -- $CURRENT) )
84+ else
85+ COMPREPLY=( $(compgen -W '$(command cd /usr/local/lib/easyengine/modules/debug/; find -type f | grep debug | cut -d'_' -f4 | cut -d '.' -f1 | sed 's/^/--/g' 2> /dev/null)' -- $CURRENT) )
86+ fi
8387 ee_single
84- return 0
85- ;;
88+ return 0
89+ ;;
90+
8691
8792 --wp)
8893 if [ "$PREVIOUS3" = "create" ] || [ "$PREVIOUS3" = "update" ]; then
You can’t perform that action at this time.
0 commit comments