zsh-workers
 help / color / mirror / code / Atom feed
From: Marko Myllynen <myllynen@redhat.com>
To: zsh workers <zsh-workers@zsh.org>
Subject: [PATCH] Update kvno completion
Date: Wed, 10 May 2017 10:59:28 +0300	[thread overview]
Message-ID: <799f79f9-f47f-78df-eb26-d704cea01d49@redhat.com> (raw)

Hi,

Update kvno completion to match MIT Krb 1.14.

---
 Completion/Unix/Command/_kvno | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/Completion/Unix/Command/_kvno b/Completion/Unix/Command/_kvno
index 782d9e6..9664e18 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 \

Thanks,

-- 
Marko Myllynen


                 reply	other threads:[~2017-05-10  7:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=799f79f9-f47f-78df-eb26-d704cea01d49@redhat.com \
    --to=myllynen@redhat.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).