summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Myllynen <myllynen@redhat.com>2017-05-10 10:59:28 +0300
committerPeter Stephenson <pws@zsh.org>2017-05-22 15:00:41 +0100
commitdd672b79ce0de99b64a64504745dfc9dac04eed6 (patch)
tree5c4faa10757e73b75bae4abda2984bcdc7134416
parenteacb87988ee83e7ca79c27c9fd2e3ad67d703108 (diff)
downloadzsh-dd672b79ce0de99b64a64504745dfc9dac04eed6.tar.gz
zsh-dd672b79ce0de99b64a64504745dfc9dac04eed6.zip
41087: Update kvno completion to MIT krb 1.14
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_kvno10
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 2ceb91cce..af94f3e79 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2017-05-22 Peter Stephenson <p.stephenson@samsung.com>
+ * Marko Myllenen: 41087: Completion/Unix/Command/_kvno: Update
+ completion to MIT krb 1.14.
+
* Marko Myllenen: 41086: Completion/Unix/Command/_libvirt:
update completion.
diff --git a/Completion/Unix/Command/_kvno b/Completion/Unix/Command/_kvno
index 782d9e6fc..9664e187b 100644
--- a/Completion/Unix/Command/_kvno
+++ b/Completion/Unix/Command/_kvno
@@ -3,15 +3,17 @@
local curcontext="$curcontext" state line ret=1
_arguments -C \
- '(-4)-c[specify credentials cache to use]:cache:_files' \
- '(-4)-e[specify encryption type]:encryption type' \
+ '-c[specify credentials cache to use]:cache:_files' \
+ '-e[specify encryption type]:encryption type' \
'-q[suppress printing]' \
'(- :)-h[display help information]' \
- '(-c -e)-4[kerberos 4 tickets]' \
+ '-P[acquire credentials for the principal during S4U2Self]' \
+ '-S[specify the service name of the principal]:service' \
+ '-U[specify user for S4U2Self]:user:_users' \
':principal:->principal' && ret=0
if [[ $state = principal ]]; then
- if compset -P host/; then
+ if compset -P '*/'; then
_hosts && ret=0
else
_alternative \