about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2004-03-12 15:19:07 +0000
committerClint Adams <clint@users.sourceforge.net>2004-03-12 15:19:07 +0000
commit0cef280ab7384735a8614083e357649cdd808c46 (patch)
treeae5700bed7a6d85da6b89f363ea8b6caafbd5906
parentfc5d8fcb37e499ee0506d5b999d2c39fd370296b (diff)
downloadzsh-0cef280ab7384735a8614083e357649cdd808c46.tar.gz
zsh-0cef280ab7384735a8614083e357649cdd808c46.tar.xz
zsh-0cef280ab7384735a8614083e357649cdd808c46.zip
19613: Completion/Unix/Command/_vux: better descriptions and indentation.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_vux24
2 files changed, 19 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 26321ecd7..e76a4f496 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-12  Clint Adams  <clint@zsh.org>
+
+	* 19613: Completion/Unix/Command/_vux: better descriptions
+	and indentation.
+
 2004-03-12  Oliver Kiddle  <opk@zsh.org>
 
 	* 19602: Src/signames2.awk: adjust to cope with output from the
diff --git a/Completion/Unix/Command/_vux b/Completion/Unix/Command/_vux
index b9d2bdaab..e57f6a6b5 100644
--- a/Completion/Unix/Command/_vux
+++ b/Completion/Unix/Command/_vux
@@ -1,10 +1,15 @@
 #compdef vux vuxctl
 
+local expl
+
 case "$service" in
-	(vux)
+  (vux)
 
-_arguments -s -C \
-	'-x:action:(p g m w r f)' \
+  _arguments -s -C \
+	'-x:action:((play\:play\ music generate\:generate\ new\ scorelist
+	            merge\:merge\ new\ songs
+		    weed\:prune\ songs\ from\ scorelist
+		    ratings\:show\ statistics force\:force-rate))' \
 	'-s:file:_files' \
 	'-a:file:_files' \
 	'-z:file:_files' \
@@ -47,14 +52,13 @@ _arguments -s -C \
 	'-P[Always play new songs]' \
 	'-g[print stats in xgraph format]' \
 	'-h[Show summary of options]'
+  ;;
 
-	;;
-
-	(vuxctl)
-
-	compadd start clean double half up down next previous forward \
-		replay pause resume stop reload save history help
+  (vuxctl)
 
-	;;
+  _wanted vuxcmd expl 'vux control command' \
+      compadd start clean double half up down next previous forward \
+	      replay pause resume stop reload save history help
+  ;;
 
 esac