File: _vorbiscomment

package info (click to toggle)
zsh-beta 4.3.6-dev-0%2B20080723-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 14,752 kB
  • ctags: 7,403
  • sloc: ansic: 90,889; sh: 5,568; makefile: 836; perl: 745; awk: 381; sed: 16
file content (18 lines) | stat: -rw-r--r-- 607 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#compdef vorbiscomment

#Written by Jesse Weinstein <jessw@netwood.net>, Wed Jul 19 15:31:11 2006
#Version 0.9 - could handle -t option slightly better
#Released under the MIT license (or any compatible free-content license)
#i.e. do whatever you like with it, but credit me.

_arguments \
    '-h[help]' \
    '-q[quiet]' \
    '(-a -w -q -c -t 2)-l[list comments]' \
    '(-l)-a[append comments]' \
    '(-l)-w[overwrite comments]' \
    '(-l -c)-t[tag and value]:: ' \
    '(-l -t)-c[tag file]::_files' \
    '1:OGG file:_files -g \*.ogg' \
    '(-l)2:output OGG file:_files -g \*.ogg' \
    && return 0