summary refs log tree commit diff
diff options
context:
space:
mode:
authorDoug Kearns <dkearns@users.sourceforge.net>2004-02-25 05:00:00 +0000
committerDoug Kearns <dkearns@users.sourceforge.net>2004-02-25 05:00:00 +0000
commit67b03b2f2c3ee90b7c5fce5932aa5388e8c10d5f (patch)
tree4be9f934809fb11c3286b53f5aabf5f7a2df38e2
parent824ea0edc9483ada26eba4eb226aa40137d86bd8 (diff)
downloadzsh-67b03b2f2c3ee90b7c5fce5932aa5388e8c10d5f.tar.gz
zsh-67b03b2f2c3ee90b7c5fce5932aa5388e8c10d5f.tar.xz
zsh-67b03b2f2c3ee90b7c5fce5932aa5388e8c10d5f.zip
19458: new completion for raggle
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Unix/Command/.distfiles2
-rw-r--r--Completion/Unix/Command/_raggle27
3 files changed, 32 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 09b955bea..116e42937 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-02-25  Doug Kearns  <djkea2@mugca.its.monash.edu.au>
+
+	* 19458: Completion/Unix/Command/_raggle: new completion for raggle
+
 2004-02-23  Oliver Kiddle  <opk@zsh.org>
 
 	* 19457: Completion/Unix/Command/_rar, Completion/Unix/Command/_sed,
diff --git a/Completion/Unix/Command/.distfiles b/Completion/Unix/Command/.distfiles
index 60662c689..e06ad4215 100644
--- a/Completion/Unix/Command/.distfiles
+++ b/Completion/Unix/Command/.distfiles
@@ -21,7 +21,7 @@ _netcat       _larch        _texinfo	  _figlet       _elinks       _tidy
 _global                     _ant          _lsof         _mt           _xmlsoft
 _perforce     _python       _antiword     _screen       _renice       _apm
 _ecasound     _gpg	    _subversion   _aap          _sablotron    _nmap
-_chmod        _du           _getent       _gphoto2
+_chmod        _du           _getent       _gphoto2      _raggle
 _nice	      _printenv
 _rar	      _sed          _uniq         _vorbis
 '
diff --git a/Completion/Unix/Command/_raggle b/Completion/Unix/Command/_raggle
new file mode 100644
index 000000000..35b7fc3c5
--- /dev/null
+++ b/Completion/Unix/Command/_raggle
@@ -0,0 +1,27 @@
+#compdef raggle
+
+_arguments \
+  '(-a --add --add-feed)'{-a,--add,--add-feed}"[add a new feed (requires '--url')]" \
+  '--ascii[use ASCII characters instead of ANSI for window borders]' \
+  '(-c --config)'{-c,--config}'[specify an alternate config file]:config file:_files' \
+  '(-d --delete --delete-feed)'{-d,--delete,--delete-feed}'[delete an existing feed]:feed ID:' \
+  '(-e --edit --edit-feed)'{-e,--edit,--edit-feed}'[edit an existing feed]:feed ID:' \
+  '(--import-opml)--export-opml[export feeds to OPML]:OPML file:_files -g "*.opml(-.)"' \
+  "--force[force behavior Raggle won't normally allow]" \
+  '(-)'{-h,--help,--usage}'[display this usage screen]' \
+  '(--export-opml)--import-opml[import feeds from an OPML file]:OPML file:_files -g "*.opml(-.)"' \
+  '(-i --invalidate)'{-i,--invalidate}'[invalidate a feed (force an update)]:feed ID:' \
+  '(-l --list)'{-l,--list}"[list existing feeds (use '--verbose' to show URLs as well)]" \
+  "--lock-title[lock Title attribute of feed (for '--add' and '--edit')]" \
+  "--max-items[set the maximum number of items for a feed (for '--add' and '--edit')]" \
+  '--purge[purge deleted feeds from feed cache]' \
+  '(-r --refresh)'{-r,--refresh}"[refresh attribute of feed (for '--add' and '--edit')]:refresh time (minutes):" \
+  "--save-items[save old items of feed (for '--add' and '--edit')]" \
+  '--server[run Raggle in HTTP server mode]:port:_ports' \
+  '(--sort --sort-feeds)'{--sort,--sort-feeds}'[sort feeds by title (case-insensitive)]' \
+  '(-t --title)'{-t,--title}"[title attribute of feed (for '--add' and '--edit')]:feed title:" \
+  "--unlock-title[unlock Title attribute of feed (for '--add' and '--edit')]" \
+  "--unsave-items[don't save old items of feed (for '--add' and '--edit')]" \
+  '(-u --url)'{-u,--url}"[URL attribute of feed (for '--add' and '--edit')]:url:_urls" \
+  '--verbose[turn on verbose output]' \
+  '(-)'{-v,--version}'[display version information]'