about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2002-11-22 11:49:01 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2002-11-22 11:49:01 +0000
commit0c2bdc70c43aa8ef88b958292f913f9db0822882 (patch)
treec8221d70e01a7501139a5da807cf3fbf1a3c3094
parentbbbc5536da957313a7306892790fb34fdb2f96cc (diff)
downloadzsh-0c2bdc70c43aa8ef88b958292f913f9db0822882.tar.gz
zsh-0c2bdc70c43aa8ef88b958292f913f9db0822882.tar.xz
zsh-0c2bdc70c43aa8ef88b958292f913f9db0822882.zip
17958: update print completion for new print options in 17940
-rw-r--r--ChangeLog6
-rw-r--r--Completion/Zsh/Command/_print6
2 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8aed52d94..b79ce9909 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-11-22  Oliver Kiddle  <opk@zsh.org>
+
+	* 17958: Completion/Zsh/Command/_print, Completion/Zsh/Command/_read,
+	Completion/Zsh/Command/_ulimit: change _print to reflect changes in
+	17940, add missing options in _ulimit and minor update to _read
+
 2002-11-20  Peter Stephenson  <pws@csr.com>
 
 	* 17940: Src/builtin.c, Doc/Zsh/builtin.yo: print -C <cols> prints
diff --git a/Completion/Zsh/Command/_print b/Completion/Zsh/Command/_print
index 9e52da5ab..07cb4de1d 100644
--- a/Completion/Zsh/Command/_print
+++ b/Completion/Zsh/Command/_print
@@ -14,7 +14,7 @@ _arguments -C -s -A "-*" -S \
   '(-r -b -f -m -s -l -N -o -O -i -c -u -p -z -D -P)-R[emulate BSD echo (no escapes, -n & -e flags only)]' \
   '-b[recognise bindkey escape sequences]' \
   '-m[remove arguments matching specified pattern]' \
-  '(-r -n -R -l -N -c)-f[print arguments as for the printf builtin]:format' \
+  '(-r -n -R -l -N -c)-f+[print arguments as for the printf builtin]:format' \
   '(-u -p -z)-s[place results in the history list]' \
   '(-c -f)-n[do not add a newline to the result]' \
   '(-N -c -f)-l[print arguments separated by newlines]' \
@@ -22,7 +22,9 @@ _arguments -C -s -A "-*" -S \
   '(-O)-o[sort arguments in ascending order]' \
   '(-o)-O[sort arguments in descending order]' \
   '-i[case-insensitive sorting]' \
-  '(-n -l -N -f)-c[print arguments in columns]' \
+  '(-n -l -N -f -s -z)-a[with -c/-C, print arguments across before down]' \
+  '(-n -l -N -f -C -s -z)-c[print arguments in columns]' \
+  '(-n -l -N -f -c -s -z)-C+[print arguments in specified number of columns]:columns' \
   '(-s -p -z)-u+[specify file-descriptor to print arguments to]:file-descriptor:_file_descriptors' \
   '(-s -p -u)-z[push arguments onto editing buffer stack]' \
   '-D[substitute any arguments which are named directories using ~ notation]' \