Add more mysqladmin command completions.

This commit is contained in:
Ville Skyttä 2009-10-20 00:25:38 +03:00
parent e3184ff193
commit ba12c8102c
2 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,7 @@ bash-completion (1.x)
* Apply cardctl completion to pccardctl too.
* Apply pine completion to alpine too.
* Remove many unnecessary short option completions where long ones exist.
* Improve gkrellm and mdadm completions.
* Improve gkrellm, mdadm, and mysqladmin completions.
* Add wtf completion, based on work by Raphaël Droz.
-- David Paleino <d.paleino@gmail.com> Sun, 11 Oct 2009 11:11:57 +0200

View File

@ -22,10 +22,10 @@ _mysqladmin()
-v -V -w' -- "$cur" ) )
COMPREPLY=( "${COMPREPLY[@]}" \
$( compgen -W 'create drop extended-status flush-hosts flush-logs \
flush-status flush-tables flush-threads flush-privileges kill \
password ping processlist reload refresh shutdown status variables \
version' -- "$cur" ) )
$( compgen -W 'create debug drop extended-status flush-hosts \
flush-logs flush-status flush-tables flush-threads flush-privileges \
kill password old-password ping processlist reload refresh shutdown \
status start-slave stop-slave variables version' -- "$cur" ) )
} &&
complete -F _mysqladmin mysqladmin