Add more mysqladmin command completions.
This commit is contained in:
parent
e3184ff193
commit
ba12c8102c
2
CHANGES
2
CHANGES
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user