Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: oggdec completion bug



> Here is a tiny bug i found today when using oggdec -<tab>.
> Sadly '-q' and '--quiet' are not equivalent. '-q' is not a
> flag in oggdec, it's '-Q'. 

Here you go.

Index: Completion/Unix/Command/_vorbis
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_vorbis,v
retrieving revision 1.4
diff -u -r1.4 _vorbis
--- Completion/Unix/Command/_vorbis	13 Feb 2004 18:42:26 -0000	1.4
+++ Completion/Unix/Command/_vorbis	28 Jan 2006 15:27:10 -0000
@@ -66,7 +66,7 @@
   ;;
   oggdec)
     _arguments -s \
-      '(-q --quiet)'{-q,--quiet}'[quiet mode]' \
+      '(-Q --quiet)'{-Q,--quiet}'[quiet mode]' \
       '(- *)'{-h,--help}'[print help information]' \
       '(- *)'{-v,--version}'[display version information]' \
       '(-b --bits)'{-b,--bits=}'[bits per sample]:bits per sample:(8 16)' \



Messages sorted by: Reverse Date, Date, Thread, Author