Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 1/3] Complete telnet options for forcing IP version
- X-seq: zsh-workers 30638
- From: Aaron Schrab <aaron@xxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH 1/3] Complete telnet options for forcing IP version
- Date: Wed, 22 Aug 2012 19:18:37 -0400
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author