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

17484: fix option check and add missing #autoload tag

This commit is contained in:
Oliver Kiddle 2002-07-26 13:54:37 +00:00
parent 9c152f0ebf
commit e5ccda3b9c
3 changed files with 8 additions and 1 deletions

View file

@ -8,7 +8,7 @@ typeset -A opt_args
_nedit && return
if (( ! $+_nc_args )); then
local help="$(_call_program options nc -h < /dev/null 2>&1)"
local help="$(_call_program options $words[1] -h < /dev/null 2>&1)"
local -A optionmap
optionmap=(
'*-e prog*' '-e+[program to exec after connect]:prog:_command_names -e'