source: trunk/misc/transmissioncli.zsh @ 1125

Last change on this file since 1125 was 1098, checked in by titer, 15 years ago

Adds Zsh completion file (by Arnaud De Turckheim)

File size: 721 bytes
Line 
1#compdef transmissioncli
2
3_arguments -s -S \
4'(-h --help)'{-h,--help}'[Print help and exit]' \
5'(-i --info)'{-i,--info}'[Print metainfo and exit]' \
6'(-d --download)'{-d,--download}'[Maximum download rate (nolimit = -1) (default = -1)]:integer:' \
7'(-n --net-traversal)'{-n,--nat-traversal}'[Attempt NAT traversal using NAT-PMP or UPnP IGD]' \
8'(-p --port)'{-p,--port}'[Port we should listen on (default = 9090)]:integer:' \
9'(-s --scrape)'{-s,--scrape}'[Print counts of seeders/leechers and exit]' \
10'(-u --upload)'{-u,--upload}'[Maximum upload rate (nolimit = -1) (default = 20)]:integer:' \
11'(-v --verbose)'{-v,--verbose}'[Verbose level]:level:((0\:Low 1\:Medium 2\:High))' \
12"*:torrent files:_files -g '*.torrent'"
Note: See TracBrowser for help on using the repository browser.