From 6bc080a602b8394617acd06739642a13ffbd1d88 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Mon, 19 Aug 2002 14:51:59 +0000 Subject: nedit 5.3 adds a -version option --- Completion/X/Command/_nedit | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'Completion') diff --git a/Completion/X/Command/_nedit b/Completion/X/Command/_nedit index c915c25ec..8caa00771 100644 --- a/Completion/X/Command/_nedit +++ b/Completion/X/Command/_nedit @@ -3,16 +3,18 @@ local state line expl nedit_common curcontext="$curcontext" ret=1 typeset -A opt_args -nedit_common=( \ - '-read[open file read only]' \ - "-create[create file if it doesn't already exist]" \ - '-line[go to specified line number]:line number' \ - '-do[execute macro or action commands]' \ - '-lm[specify language mode]:language mode:->lang' \ - '-svrname[name the server]:nedit server name' \ - '(-noiconic)-iconic[set initial window state to iconic]' \ - '*-xrm:resource:_x_resource' \ - '*:file:_files' ) +nedit_common=( + '-read[open file read only]' + "-create[create file if it doesn't already exist]" + '-line[go to specified line number]:line number' + '-do[execute macro or action commands]:macro command' + '-lm[specify language mode]:language mode:->lang' + '-svrname[name the server]:nedit server name' + '(-noiconic)-iconic[set initial window state to iconic]' + '(- *)'{-V,-version}'[display version information]' + '*-xrm:resource:_x_resource' + '*:file:_files' +) if [[ $service = nc ]]; then _x_arguments -C \ -- cgit 1.4.1