zsh-workers
 help / color / mirror / code / Atom feed
From: Aaron Schrab <aaron@schrab.com>
To: zsh-workers@zsh.org
Subject: [PATCH 1/3] Complete telnet options for forcing IP version
Date: Wed, 22 Aug 2012 19:18:37 -0400	[thread overview]
Message-ID: <1345677519-1237-1-git-send-email-aaron@schrab.com> (raw)

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


             reply	other threads:[~2012-08-22 23:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-22 23:18 Aaron Schrab [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1345677519-1237-1-git-send-email-aaron@schrab.com \
    --to=aaron@schrab.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).