about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2012-05-17 13:37:08 +0000
committerMikael Magnusson <mikachu@gmail.com>2012-05-17 13:37:08 +0000
commit95f02efe7e2aeae654b05acb0f36185f7e14957d (patch)
treef6932680fc560d8db21ba87a9018ea1958620091 /Completion
parent08408fe134df663bac2ad8153b3502dff0065f2e (diff)
downloadzsh-95f02efe7e2aeae654b05acb0f36185f7e14957d.tar.gz
zsh-95f02efe7e2aeae654b05acb0f36185f7e14957d.tar.xz
zsh-95f02efe7e2aeae654b05acb0f36185f7e14957d.zip
30474: add ssh -O cancel completion
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_ssh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh
index 8a06bf8bb..7e85e2bb6 100644
--- a/Completion/Unix/Command/_ssh
+++ b/Completion/Unix/Command/_ssh
@@ -1,6 +1,6 @@
 #compdef ssh slogin=ssh scp ssh-add ssh-agent ssh-keygen sftp ssh-copy-id
 
-# Completions currently based on OpenSSH 5.9 (released on 2011-09-06).
+# Completions currently based on OpenSSH 6.0 (released on 2012-04-22).
 #
 # TODO: update ssh-keygen (not based on 5.9)
 # TODO: sshd, ssh-keyscan, ssh-keysign
@@ -50,7 +50,7 @@ _ssh () {
       '(-1)-m+[specify mac algorithms]:mac spec:->macs' \
       '(-1)-N[do not execute a remote command (protocol version 2 only)]' \
       '-n[redirect stdin from /dev/null]' \
-      '-O:multiplex control command:((check\:"check master process is running" exit\:"request the master to exit" forward\:"request forward without command execution" stop\:"request the master to stop accepting further multiplexing requests"))' \
+      '-O:multiplex control command:((check\:"check master process is running" exit\:"request the master to exit" forward\:"request forward without command execution" stop\:"request the master to stop accepting further multiplexing requests" cancel\:"cancel existing forwardings with -L and/or -R"))' \
       '-P[use non privileged port]' \
       '-p+[specify port on remote host]:port number on remote host' \
       '(-v)*-q[quiet operation]' \