about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-04-29 16:36:53 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-04-29 16:36:53 +0000
commit65168c749c0b86337705da7a8012c093918c80b7 (patch)
treec55175b7675205af9a7b31b43733d527cd68a7e8 /Completion
parente84adfe6cb9031d946ee22be8634f1ef9290b236 (diff)
downloadzsh-65168c749c0b86337705da7a8012c093918c80b7.tar.gz
zsh-65168c749c0b86337705da7a8012c093918c80b7.tar.xz
zsh-65168c749c0b86337705da7a8012c093918c80b7.zip
26900: Ben Haskell: ssh -Y, -x and -X are mutually exclusive
Diffstat (limited to 'Completion')
-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 438ecc215..bc207bfd9 100644
--- a/Completion/Unix/Command/_ssh
+++ b/Completion/Unix/Command/_ssh
@@ -73,9 +73,9 @@ _ssh () {
       '(-1 -t)-T[disable pseudo-tty allocation (protocol version 2 only)]' \
       '(-q)*-v[verbose mode]' \
       '-V[show version number]' \
-      '(-X)-x[disable X11 forwarding]' \
-      '(-x)-X[enable X11 forwarding]' \
-      '-Y[enable trusted X11 forwarding]' \
+      '(-X -Y)-x[disable X11 forwarding]' \
+      '(-x -Y)-X[enable (untrusted) X11 forwarding]' \
+      '(-x -X)-Y[enable trusted X11 forwarding]' \
       '-M[master mode for connection sharing]' \
       '-S:path to control socket:_files' \
       '-O:multiplex control command:(check exit)' \