~ubuntu-branches/ubuntu/vivid/bash-completion/vivid-proposed

« back to all changes in this revision

Viewing changes to completions/ktutil

  • Committer: Package Import Robot
  • Author(s): David Paleino
  • Date: 2013-11-04 18:08:07 UTC
  • mto: (5.1.13 sid)
  • mto: This revision was merged to the branch mainline in revision 43.
  • Revision ID: package-import@ubuntu.com-20131104180807-alm3km6rdyzn65qc
Tags: upstream-2.1
ImportĀ upstreamĀ versionĀ 2.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 
15
15
_heimdal_encodings()
16
16
{
17
 
    COMPREPLY=( $( compgen -W 'des-cbc-mcrc des-cbc-md4 des-cbc-md5 \
18
 
        des3-cbc-sha1 arcfour-hmac-md5 aes128-cts-hmac-sha1-96 \
 
17
    COMPREPLY=( $( compgen -W 'des-cbc-mcrc des-cbc-md4 des-cbc-md5
 
18
        des3-cbc-sha1 arcfour-hmac-md5 aes128-cts-hmac-sha1-96
19
19
        aes256-cts-hmac-sha1-96' -- "$cur" ) )
20
20
}
21
21
 
51
51
 
52
52
    $split && return 0
53
53
 
54
 
    commands='add change copy get list remove rename purge srvconvert \
 
54
    commands='add change copy get list remove rename purge srvconvert
55
55
        srv2keytab srvcreate key2srvtab'
56
56
 
57
57
    for (( i=1; i < cword; i++ )); do
71
71
    if [[ "$cur" == -* ]]; then
72
72
        case $command in
73
73
            add)
74
 
                options='-p --principal -V -e --enctype -w --password -r \
 
74
                options='-p --principal -V -e --enctype -w --password -r
75
75
                    --random -s --no-salt -h --hex'
76
76
            ;;
77
77
            change)
78
78
                options='-r --realm -a --admin-server -s --server-port'
79
79
            ;;
80
80
            get)
81
 
                options='-p --principal -e --enctype -r --realm -a \
 
81
                options='-p --principal -e --enctype -r --realm -a
82
82
                    --admin-server -s server --server-port'
83
83
                ;;
84
84
            list)