1
# bash completion for ldapvi
9
_get_comp_words_by_ref cur prev
13
_known_hosts_real "$cur"
17
COMPREPLY=( $( compgen -W 'EXTERNAL GSSAPI DIGEST-MD5 \
18
CRAM-MD5 PLAIN ANONYMOUS' -- "$cur" ) )
22
COMPREPLY=( $( compgen -W 'simple sasl' -- "$cur" ) )
26
COMPREPLY=( $( compgen -W 'never auto always' -- $cur ) )
30
COMPREPLY=( $( compgen -W 'base one sub' -- "$cur" ) )
34
COMPREPLY=( $( compgen -W 'never searching finding always' \
39
COMPREPLY=( $( compgen -W 'ASCII UTF-8 binary' -- "$cur" ) )
43
COMPREPLY=( $( compgen -W 'never allow try strict' \
49
if [[ "$cur" == -* ]]; then
50
COMPREPLY=( $( compgen -W '--discover --out --in --delete \
51
--rename -h --host -D --user -w --password --bind \
52
--bind-dialog -I --sasl-interactive --bind-dialog -O \
53
--sasl-secprops -Q --sasl-quiet -R --sasl-realm -U \
54
--sasl-authcid -X --sasl-authzid -Y --sasl-mech -b \
55
--base -s --scope -S --sort --add -o --class --config \
56
-c --continue --deleteoldrdn -a --deref -d --discover \
57
-A --empty --ncoding -H --help --ldap-conf -m --may -M \
58
--managedsait --noquestions -! --noninteractive -q \
59
--quiet -R --read -Z --starttls --tls -v --verbose \
60
--ldapsearch --ldapmodify --ldapdelete --ldapmoddn' \
64
complete -F _ldapvi ldapvi
69
# sh-indent-comment: t
70
# indent-tabs-mode: nil
72
# ex: ts=4 sw=4 et filetype=sh