diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2003-07-02 10:25:05 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2003-07-02 10:25:05 +0000 |
commit | 1cb11615aa337d98022a48c1c3c8c5c33b0b57c2 (patch) | |
tree | 666f075271d340fabcc63b564e1c296aa3715f9e /Completion/Unix/Command/_mt | |
parent | bedc4995d225195a2e48c0d9430ceb97adfb7e2f (diff) | |
download | zsh-1cb11615aa337d98022a48c1c3c8c5c33b0b57c2.tar.gz zsh-1cb11615aa337d98022a48c1c3c8c5c33b0b57c2.tar.xz zsh-1cb11615aa337d98022a48c1c3c8c5c33b0b57c2.zip |
merge changes back from 4.1
Diffstat (limited to 'Completion/Unix/Command/_mt')
-rw-r--r-- | Completion/Unix/Command/_mt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_mt b/Completion/Unix/Command/_mt index 8d2689539..4d750537c 100644 --- a/Completion/Unix/Command/_mt +++ b/Completion/Unix/Command/_mt @@ -1,7 +1,7 @@ #compdef mt local -a args cmds -local state line curcontext="$curcontext" +local state line curcontext="$curcontext" ret=1 args=( '(-)-f[specify raw tape device]:tape device:_files' ) cmds=( @@ -73,6 +73,8 @@ elif [[ $OSTYPE = solaris* ]]; then fi _arguments -C "$args[@]" '(--help --version -V)1:operation:->operation' \ - '2:count:' && return + '2:count:' && ret=0 -[[ -n "$state" ]] && _describe -t operations 'operation' cmds +[[ -n "$state" ]] && _describe -t operations 'operation' cmds && ret=0 + +return ret |