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

PATCH: _apt and _archie.



I found small problems in _apt and _archie.

Index: Completion/Debian/_apt
===================================================================
RCS file: /projects/zsh/zsh/Completion/Debian/_apt,v
retrieving revision 1.1.1.10
diff -u -r1.1.1.10 _apt
--- Completion/Debian/_apt	1999/10/26 15:36:13	1.1.1.10
+++ Completion/Debian/_apt	1999/11/02 12:29:31
@@ -473,7 +473,7 @@
     -- \
     /$'shell\0'/ \
       \( \
-	/$'[^\0]#\0'/ :'compadd "$expl_shell_var[@]" - "${(@k)parameters}' \
+	/$'[^\0]#\0'/ :'compadd "$expl_shell_var[@]" - "${(@k)parameters}"' \
 	/$'[^\0]#\0'/ :'compadd "$expl_config_key[@]" - ${${(f)"$(apt-config dump 2>&1)"}% *}' \
       \) \# \| \
     /$'dump\0'/ \| \
Index: Completion/User/_archie
===================================================================
RCS file: /projects/zsh/zsh/Completion/User/_archie,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 _archie
--- Completion/User/_archie	1999/10/16 05:13:05	1.1.1.1
+++ Completion/User/_archie	1999/11/02 12:29:31
@@ -4,10 +4,10 @@
 typeset -A opt_args
 
 _arguments -s \
-  '-D[debug level]' \
+  '-D+[debug level]:debug level:' \
   '-v[print version]' \
   '-V[verbose mode]' \
-  '-O[specifies offset]:offset:' \
+  '-O+[specifies offset]:offset:' \
   '-a[list matches as Alex filenames]' \
   '-c[case sensitive substring search]' \
   '-e[exact string match (default)]' \
@@ -15,9 +15,9 @@
   '-s[case insensitive substring search]' \
   '-l[list one match per line]' \
   '-t[sort inverted by date]' \
-  '-m[specifies maximum number of hits to return (default 95)]:hits to return:' \
-  '-o[specifies file to store results in]:file to store:' \
-  '-h[specifies server host]:server host:->serverhost' \
+  '-m+[specifies maximum number of hits to return (default 95)]:hits to return:' \
+  '-o+[specifies file to store results in]:file to store:' \
+  '-h+[specifies server host]:server host:->serverhost' \
   '-L[list known servers and current default]' \
   '-N-[specifies query niceness level (0-35765)]:niceness level:' \
   ':string:'
-- 
Tanaka Akira



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