diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2002-08-19 14:51:59 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2002-08-19 14:51:59 +0000 |
commit | 6bc080a602b8394617acd06739642a13ffbd1d88 (patch) | |
tree | 789ac0f87b7612d2b95cc99d2b89886e2774f9f4 | |
parent | e0bc44d060119f9e995ff4ff2351325776690cd3 (diff) | |
download | zsh-6bc080a602b8394617acd06739642a13ffbd1d88.tar.gz zsh-6bc080a602b8394617acd06739642a13ffbd1d88.tar.xz zsh-6bc080a602b8394617acd06739642a13ffbd1d88.zip |
nedit 5.3 adds a -version option
-rw-r--r-- | Completion/X/Command/_nedit | 22 |
1 files changed, 12 insertions, 10 deletions
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 \ |