diff options
Diffstat (limited to 'completions/mysqladmin')
| -rw-r--r-- | completions/mysqladmin | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/completions/mysqladmin b/completions/mysqladmin index bdc07eb2..13799052 100644 --- a/completions/mysqladmin +++ b/completions/mysqladmin @@ -8,37 +8,37 @@ _mysqladmin() case $prev in -u|--user) COMPREPLY=( $( compgen -u -- "$cur" ) ) - return 0 + return ;; -h|--host) _known_hosts_real "$cur" - return 0 + return ;; --character-sets-dir|--ssl-capath) _filedir -d - return 0 + return ;; -S|--socket) _filedir sock - return 0 + return ;; --defaults-file|--defaults-extra-file) _filedir - return 0 + return ;; -c|--count|--default-character-set|-P|--port|-O|--set-variable|\ -i|--sleep|--ssl-ca|--ssl-cert|--ssl-cipher|--ssl-key|-w|--wait|\ --connect_timeout|--shutdown_timeout) # Argument required but no completions available - return 0 + return ;; '-?'|--help|-V|--version) # All other options are noop with these - return 0 + return ;; esac - $split && return 0 + $split && return COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) ) @@ -51,4 +51,4 @@ _mysqladmin() } && complete -F _mysqladmin mysqladmin -# ex: ts=4 sw=4 et filetype=sh +# ex: filetype=sh |
