summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2002-04-04 12:41:35 +0000
committerClint Adams <clint@users.sourceforge.net>2002-04-04 12:41:35 +0000
commit87ac2d16d959a653359b1ba4ab73925f80789ffb (patch)
treee727539d84104a3a089a260e1d648983bde60f21
parentc4b8482b9468af8169dd33271c954a84de6f4cad (diff)
downloadzsh-87ac2d16d959a653359b1ba4ab73925f80789ffb.tar.gz
zsh-87ac2d16d959a653359b1ba4ab73925f80789ffb.tar.xz
zsh-87ac2d16d959a653359b1ba4ab73925f80789ffb.zip
16934: complete ssh -1 as well as ssh -2.
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Unix/Command/_ssh1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 10d5730aa..f2821e182 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-04-04  Oliver Kiddle  <clint@zsh.org>
+
+	* 16934: Completion/Unix/Command/_ssh: complete -1 as well as -2.
+
 2002-04-04  Oliver Kiddle  <opk@zsh.org>
 
 	* 16911: Completion/Base/Completer/_match: add original string as
diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh
index 9d514de8a..bfc3278bd 100644
--- a/Completion/Unix/Command/_ssh
+++ b/Completion/Unix/Command/_ssh
@@ -69,6 +69,7 @@ _ssh () {
       '-C[compress all data]' \
       '-L[specify local port forwarding]:local port forwarding:->forward' \
       '-R[specify remote port forwarding]:remote port forwarding:->forward' \
+      '-1[forces ssh to try protocol version 1 only]'\
       '-2[forces ssh to try protocol version 2 only]'\
       '-4[forces ssh to use IPv4 addresses only]' \
       '-6[forces ssh to use IPv6 addresses only]' \