about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2008-02-03 18:10:18 +0000
committerClint Adams <clint@users.sourceforge.net>2008-02-03 18:10:18 +0000
commit07acd1d4f06607d4a3a82ed67beed74e2ac28b7e (patch)
tree7d45180ab6a963282cdbc9f7f70773585508c65b
parent351226cf6f242dad26bba2ee48c930afea480798 (diff)
downloadzsh-07acd1d4f06607d4a3a82ed67beed74e2ac28b7e.tar.gz
zsh-07acd1d4f06607d4a3a82ed67beed74e2ac28b7e.tar.xz
zsh-07acd1d4f06607d4a3a82ed67beed74e2ac28b7e.zip
24527: a subset of the fixes from Mikael Magnusson in 24526.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_cut5
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 535382e43..500328749 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-02-03  Clint Adams  <clint@zsh.org>
+
+	* 24527: Completion/Unix/Command/_cut: a subset of the
+	fixes from Mikael Magnusson in 24526.
+
 2008-02-02  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* 24524: Config/version.mk: increment version to 4.3.5-dev-0.
diff --git a/Completion/Unix/Command/_cut b/Completion/Unix/Command/_cut
index 7d7526dcd..adfe030d7 100644
--- a/Completion/Unix/Command/_cut
+++ b/Completion/Unix/Command/_cut
@@ -42,9 +42,10 @@ if _pick_variant gnu="Free Soft" unix --version; then
         '-n['$_cut_args[n]']' \
         '--complement['$_cut_args[complement]']' \
         '(--only-delimited -s)'{--only-delimited=,-s}'['$_cut_args[only-delimited]']' \
-        '--output-delimiter['$_cut_args[output-delimiter]']' \
+        '--output-delimiter=['$_cut_args[output-delimiter]']' \
         '--help['$_cut_args[help]']' \
-        '--version['$_cut_args[version]']'
+        '--version['$_cut_args[version]']' \
+        '*:file:_files'
 else
   _arguments \
     '-b[list specifies byte positions]:list:' \