1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-02 06:40:55 +01:00

Aaron Schrab: 30638: IPv4 and IPv6 telnet option completion

This commit is contained in:
Peter Stephenson 2012-08-23 09:07:58 +00:00
parent 76091a6995
commit eaff57eb12
2 changed files with 8 additions and 1 deletions

View file

@ -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]'