1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-18 00:51:07 +02:00

17629: patch from Juergen Erhard to handle ssh-keygen -f -p, &c.

This commit is contained in:
Clint Adams 2002-09-06 06:26:01 +00:00
parent 1d7569b4df
commit 117c8b9156
2 changed files with 8 additions and 3 deletions

View file

@ -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

View file

@ -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]' \