about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2002-09-06 06:19:57 +0000
committerClint Adams <clint@users.sourceforge.net>2002-09-06 06:19:57 +0000
commit0b0f8cbc3cd1188717ce6a4439acd65cc5595b6e (patch)
tree421864afbec06692ac50612c47d163ca9b82068d
parent9ad6a0eff9d487fdc82827366749611ec772dc1b (diff)
downloadzsh-0b0f8cbc3cd1188717ce6a4439acd65cc5595b6e.tar.gz
zsh-0b0f8cbc3cd1188717ce6a4439acd65cc5595b6e.tar.xz
zsh-0b0f8cbc3cd1188717ce6a4439acd65cc5595b6e.zip
17629: patch from Juergen Erhard to handle ssh-keygen -f -p, &c.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_ssh6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index e93e3e784..2defb551d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-09-06  Clint Adams  <clint@zsh.org>
+
+	* 17629: Completion/Unix/Command/_ssh: patch from Juergen Erhard
+	to handle ssh-keygen -f -p, &c.
+
 2002-09-04  Clint Adams  <clint@zsh.org>
 
 	* 17620: Completion/Unix/Command/_lynx: add new/missing
diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh
index bdd457266..af306b3f0 100644
--- a/Completion/Unix/Command/_ssh
+++ b/Completion/Unix/Command/_ssh
@@ -108,12 +108,12 @@ _ssh () {
   ssh-keygen)
     _arguments \
       '(-p -c -u -P)-b[specify number of bits in key]:bits in key:' \
-      '(-p -c)-f[key file]:key file:_files' \
+      '(-c)-f[key file]:key file:_files' \
       '(-c -u)-N[specify new passphrase]:new passphrase:' \
       '(-b -u -f)-P[specify old passphrase]:old passphrase:' \
       '(-p -u)-C[specify new comment]:new comment:' \
-      '(-b -f -C -u -c)-p[change passphrase of private key file]' \
-      '(-b -f -N -p -u)-c[change comment in private and public key files]' \
+      '(-b -C -u -c)-p[change passphrase of private key file]' \
+      '(-b -N -p -u)-c[change comment in private and public key files]' \
       '-l[show fingerprint of specified private or public key file]' \
       '-q[silence ssh-keygen]' \
       '-R[exit 0 or 1 if RSA support is functional]' \