Skip to content

Commit acc5d00

Browse files
committed
import-slow-log autocompletion in ee debug --mysql
1 parent fbc8639 commit acc5d00

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config/bash_completion.d/ee_auto.rc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ _ee_complete()
153153
retlist="--nginx --php --mysql --postfix --memcache --dovecot"
154154
elif [[ ${COMP_WORDS[1]} == "debug" ]]; then
155155
retlist="--start --nginx --php --fpm --mysql -i --interactive --stop"
156+
if [[ $prev == '--mysql' ]]; then
157+
retlist="--start --nginx --php --fpm --mysql -i --interactive --stop --import-slow-log"
158+
fi
156159
fi
157160
ret="${retlist[@]/$prev}"
158161
COMPREPLY=( $(compgen \

0 commit comments

Comments
 (0)