From eaff57eb12b9a3c9057b4fd551737efda24b0bd3 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 23 Aug 2012 09:07:58 +0000 Subject: Aaron Schrab: 30638: IPv4 and IPv6 telnet option completion --- ChangeLog | 7 ++++++- Completion/Unix/Command/_telnet | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e4077cd1e..51c85b2e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-08-23 Peter Stephenson + + * Aaron Schrab: 30638: Completion/Unix/Command/_telnet: IPv4 + and IPv6 options. + 2012-08-21 Peter Stephenson * users/17211: Completion/Unix/Type/_files, Doc/Zsh/compsys.yo: @@ -98,5 +103,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.5706 $ +* $Revision: 1.5707 $ ***************************************************** diff --git a/Completion/Unix/Command/_telnet b/Completion/Unix/Command/_telnet index bab9c8d36..a4faa602a 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]' -- cgit v1.2.3