zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: zsh-workers@zsh.org
Subject: PATCH: _java: -keystore takes a file argument, so complete files
Date: Wed, 23 May 2012 16:28:09 +0200	[thread overview]
Message-ID: <1337783289-13217-1-git-send-email-mikachu@gmail.com> (raw)

Noticed by readme in #zsh.

---
 Completion/Unix/Command/_java | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/Completion/Unix/Command/_java b/Completion/Unix/Command/_java
index d6e3e08..5e481cd 100644
--- a/Completion/Unix/Command/_java
+++ b/Completion/Unix/Command/_java
@@ -229,7 +229,7 @@ keytool)
       '-keypass[password for private key]:password for private key:' \
       '-validity[valid days]:number of days:' \
       '-storetype[keystore type]:store type:' \
-      '-keystore[keystore location]:keystore location:' \
+      '-keystore[keystore location]:keystore location:_files' \
       '-storepass[password for keystore]:password:' \
       '-v[verbose mode]' \
     - import \
@@ -240,7 +240,7 @@ keytool)
       '-noprompt[disable interaction with the user]' \
       '-trustcacerts[use cacerts]' \
       '-storetype[keystore type]:store type:' \
-      '-keystore[keystore location]:keystore location:' \
+      '-keystore[keystore location]:keystore location:_files' \
       '-storepass[password for keystore]:password:' \
       '-v[verbose mode]' \
     - selfcert \
@@ -251,14 +251,14 @@ keytool)
       '-validity[valid days]:number of days:' \
       '-keypass[password for private key]:password for private key:' \
       '-storetype[keystore type]:store type:' \
-      '-keystore[keystore location]:keystore location:' \
+      '-keystore[keystore location]:keystore location:_files' \
       '-storepass[password for keystore]:password:' \
       '-v[verbose mode]' \
     - identitydb \
       '-identitydb[command to read identity database]' \
       '-file[specify identity database file]:identity database file:_files' \
       '-storetype[keystore type]:store type:' \
-      '-keystore[keystore location]:keystore location:' \
+      '-keystore[keystore location]:keystore location:_files' \
       '-storepass[password for keystore]:password:' \
       '-v[verbose mode]' \
     - certreq \
@@ -268,7 +268,7 @@ keytool)
       '-file[specify certificate signing request file]:certificate signing request file:_files' \
       '-keypass[password for private key]:password for private key:' \
       '-storetype[keystore type]:store type:' \
-      '-keystore[keystore location]:keystore location:' \
+      '-keystore[keystore location]:keystore location:_files' \
       '-storepass[password for keystore]:password:' \
       '-v[verbose mode]' \
     - export \
@@ -277,14 +277,14 @@ keytool)
       '-file[specify certificate file]:certificate file:_files' \
       '-rfc[make certificate format printable as RFC 1421]' \
       '-storetype[keystore type]:store type:' \
-      '-keystore[keystore location]:keystore location:' \
+      '-keystore[keystore location]:keystore location:_files' \
       '-storepass[password for keystore]:password:' \
       '-v[verbose mode]' \
     - list \
       '-list[command to print keystore entry]' \
       '-alias[alias]:alias:' \
       '-storetype[keystore type]:store type:' \
-      '-keystore[keystore location]:keystore location:' \
+      '-keystore[keystore location]:keystore location:_files' \
       '-storepass[password for keystore]:password:' \
       '(-rfc)-v[make certificate format human-readable]' \
       '(-v)-rfc[make certificate format printable as RFC 1421]' \
@@ -299,14 +299,14 @@ keytool)
       '-keypass[password for private key]:password for private key:' \
       '-new[password for private key of new entry]:password for private key of new entry:' \
       '-storetype[keystore type]:store type:' \
-      '-keystore[keystore location]:keystore location:' \
+      '-keystore[keystore location]:keystore location:_files' \
       '-storepass[password for keystore]:password:' \
       '-v[verbose mode]' \
     - storepasswd \
       '-storepasswd[command to change password for keystore]' \
       '-new[new password]:new password:' \
       '-storetype[keystore type]:store type:' \
-      '-keystore[keystore location]:keystore location:' \
+      '-keystore[keystore location]:keystore location:_files' \
       '-storepass[password for keystore]:password:' \
       '-v[verbose mode]' \
     - keypasswd \
@@ -315,14 +315,14 @@ keytool)
       '-keypass[old password for private key]:old password for private key:' \
       '-new[nwe password for private key]:new password for private key:' \
       '-storetype[keystore type]:store type:' \
-      '-keystore[keystore location]:keystore location:' \
+      '-keystore[keystore location]:keystore location:_files' \
       '-storepass[password for keystore]:password:' \
       '-v[verbose mode]' \
     - delete \
       '-delete[command to delete entry]' \
       '-alias[alias]:alias:' \
       '-storetype[keystore type]:store type:' \
-      '-keystore[keystore location]:keystore location:' \
+      '-keystore[keystore location]:keystore location:_files' \
       '-storepass[password for keystore]:password:' \
       '-v[verbose mode]' \
     - help \
@@ -331,7 +331,7 @@ keytool)
 
 jarsigner)
   _arguments \
-    '-keystore[specify URL for keystore location]:URL for keystore location:' \
+    '-keystore[keystore location]:keystore location:_files' \
     '-storetype[specify keystore type]:store type:' \
     '-storepass[specify password for keystore]:password:' \
     '-keypass[specify password for private key]:password:' \
-- 
1.7.10.GIT


                 reply	other threads:[~2012-05-23 14:28 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=1337783289-13217-1-git-send-email-mikachu@gmail.com \
    --to=mikachu@gmail.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).