summaryrefslogtreecommitdiff
path: root/completions/mysqladmin
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.eti.br>2017-09-25 23:46:54 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.eti.br>2017-09-25 23:46:54 -0300
commit6d88f1055806932d9291f96847d2b691cccda2cd (patch)
tree0ff79eedaa8a239331256048981deedbd0721965 /completions/mysqladmin
parent059a87a5936cfebfd2d71ab8057002cafb2ea051 (diff)
downloadbash-completion-6d88f1055806932d9291f96847d2b691cccda2cd.tar.gz
New upstream version 2.7upstream/2.7
Diffstat (limited to 'completions/mysqladmin')
-rw-r--r--completions/mysqladmin18
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