about summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command')
-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 2d0ad0fe1..c633244bc 100644
--- a/Completion/Unix/Command/_ssh
+++ b/Completion/Unix/Command/_ssh
@@ -107,12 +107,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]' \