From ba12c8102c0a1e49bfea71bf5c7d8fc9495834e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 20 Oct 2009 00:25:38 +0300 Subject: [PATCH] Add more mysqladmin command completions. --- CHANGES | 2 +- contrib/mysqladmin | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGES b/CHANGES index 0380ff6e..5e9d7e51 100644 --- a/CHANGES +++ b/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 Sun, 11 Oct 2009 11:11:57 +0200 diff --git a/contrib/mysqladmin b/contrib/mysqladmin index 58551347..fd28a2e7 100644 --- a/contrib/mysqladmin +++ b/contrib/mysqladmin @@ -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