about summary refs log tree commit diff
diff options
context:
space:
mode:
-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]' \