summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2002-09-06 06:26:01 +0000
committerClint Adams <clint@users.sourceforge.net>2002-09-06 06:26:01 +0000
commit117c8b91560fd91cea50f36ac55a1853d8aa8754 (patch)
treefbbd8f1872c14bac1d8045ebaf31d75ae8d4f1f5 /Completion/Unix/Command
parent17620: add new/missing lynx options. (diff)
downloadzsh-117c8b91560fd91cea50f36ac55a1853d8aa8754.tar
zsh-117c8b91560fd91cea50f36ac55a1853d8aa8754.tar.gz
zsh-117c8b91560fd91cea50f36ac55a1853d8aa8754.tar.bz2
zsh-117c8b91560fd91cea50f36ac55a1853d8aa8754.tar.lz
zsh-117c8b91560fd91cea50f36ac55a1853d8aa8754.tar.xz
zsh-117c8b91560fd91cea50f36ac55a1853d8aa8754.tar.zst
zsh-117c8b91560fd91cea50f36ac55a1853d8aa8754.zip
17629: patch from Juergen Erhard to handle ssh-keygen -f -p, &c.
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]' \