From e5ccda3b9ce46d2122cb212a79aae0356d89f335 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Fri, 26 Jul 2002 13:54:37 +0000 Subject: 17484: fix option check and add missing #autoload tag --- Completion/Unix/Command/_netcat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Unix/Command') diff --git a/Completion/Unix/Command/_netcat b/Completion/Unix/Command/_netcat index 082b8afde..396fc8e09 100644 --- a/Completion/Unix/Command/_netcat +++ b/Completion/Unix/Command/_netcat @@ -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' -- cgit 1.4.1