1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-10 20:11:16 +01:00

nedit 5.3 adds a -version option

This commit is contained in:
Oliver Kiddle 2002-08-19 14:51:59 +00:00
parent e0bc44d060
commit 6bc080a602

View file

@ -3,16 +3,18 @@
local state line expl nedit_common curcontext="$curcontext" ret=1 local state line expl nedit_common curcontext="$curcontext" ret=1
typeset -A opt_args typeset -A opt_args
nedit_common=( \ nedit_common=(
'-read[open file read only]' \ '-read[open file read only]'
"-create[create file if it doesn't already exist]" \ "-create[create file if it doesn't already exist]"
'-line[go to specified line number]:line number' \ '-line[go to specified line number]:line number'
'-do[execute macro or action commands]' \ '-do[execute macro or action commands]:macro command'
'-lm[specify language mode]:language mode:->lang' \ '-lm[specify language mode]:language mode:->lang'
'-svrname[name the server]:nedit server name' \ '-svrname[name the server]:nedit server name'
'(-noiconic)-iconic[set initial window state to iconic]' \ '(-noiconic)-iconic[set initial window state to iconic]'
'*-xrm:resource:_x_resource' \ '(- *)'{-V,-version}'[display version information]'
'*:file:_files' ) '*-xrm:resource:_x_resource'
'*:file:_files'
)
if [[ $service = nc ]]; then if [[ $service = nc ]]; then
_x_arguments -C \ _x_arguments -C \