mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-03 10:21:46 +02:00
Aaron Schrab: 30638: IPv4 and IPv6 telnet option completion
This commit is contained in:
parent
76091a6995
commit
eaff57eb12
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-08-23 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* Aaron Schrab: 30638: Completion/Unix/Command/_telnet: IPv4
|
||||
and IPv6 options.
|
||||
|
||||
2012-08-21 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* 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 $
|
||||
*****************************************************
|
||||
|
|
|
@ -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]'
|
||||
|
|
Loading…
Reference in a new issue