zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH 1/3] Complete telnet options for forcing IP version
@ 2012-08-22 23:18 Aaron Schrab
  2012-08-22 23:18 ` [PATCH 2/3] Complete telnet -b option Aaron Schrab
  2012-08-22 23:18 ` [PATCH 3/3] Complete SSL options for telnet-ssl Aaron Schrab
  0 siblings, 2 replies; 3+ messages in thread
From: Aaron Schrab @ 2012-08-22 23:18 UTC (permalink / raw)
  To: zsh-workers

Add -4 and -6 options to completion for telnet.
---
 Completion/Unix/Command/_telnet |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/Completion/Unix/Command/_telnet b/Completion/Unix/Command/_telnet
index bab9c8d..a4faa60 100644
--- a/Completion/Unix/Command/_telnet
+++ b/Completion/Unix/Command/_telnet
@@ -12,6 +12,8 @@ if (( ! $+_telnet_args )); then
   local help="$(_call_program options 'telnet -\?' < /dev/null 2>&1)"
   local -A optionmap
   optionmap=(
+    '*\[-4\]*' '-4[Force IPv4 address resolution]'
+    '*\[-6\]*' '-6[Force IPv6 address resolution]'
     '*\[-8\]*' '-8[allow 8-Bit data]'
     '*\[-E\]*' '-E[disable an escape character]'
     '*\[-K\]*' '-K[no automatic login]'
-- 
1.7.10.4


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-08-22 23:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-22 23:18 [PATCH 1/3] Complete telnet options for forcing IP version Aaron Schrab
2012-08-22 23:18 ` [PATCH 2/3] Complete telnet -b option Aaron Schrab
2012-08-22 23:18 ` [PATCH 3/3] Complete SSL options for telnet-ssl Aaron Schrab

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).