1#compdef tremc
2
3_arguments \
4  {-v,--version}'[Show version number and exit]' \
5  {-h,--help}'[Show usage information and a list of options]' \
6  {-c,--connect}'[Point to the server]: :_hosts' \
7  {-s,--ssl}'[Use SSL to connect to the server]' \
8  '--create-config[Create default configuration file]' \
9  {-f,--config}'[Set path to configuration file]: :_files' \
10  {-n,--netrc}'[Get authentication info from ~/.netrc.]' \
11  '*::torrent:_files -g "*.torrent"'
12