about summary refs log tree commit diff
path: root/Completion/Unix
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 /Completion/Unix
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.
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_ssh6
1 files changed, 3 insertions, 3 deletions
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]' \