mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 21:44:11 +01:00
17484: fix option check and add missing #autoload tag
This commit is contained in:
parent
9c152f0ebf
commit
e5ccda3b9c
@ -1,3 +1,9 @@
|
||||
2002-07-26 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 17484: Completion/Unix/Command/_netcat,
|
||||
Completion/Unix/Type/_java_class: fix option check and add
|
||||
missing #autoload tag
|
||||
|
||||
2002-07-25 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 17481: Etc/MACHINES: from Karl Tomlinson
|
||||
|
@ -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'
|
||||
|
@ -1,3 +1,4 @@
|
||||
#autoload
|
||||
local classpath
|
||||
#Should probably add some sort of cache.
|
||||
#First use -classpath/-cp, then CLASSPATH, then assume .
|
||||
|
Loading…
Reference in New Issue
Block a user