about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_cut10
2 files changed, 9 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 862fde76f..1c87cbdae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
-2008-02-05  Clint Adams  <clint@zsh.org>
+2008-02-06  Clint Adams  <clint@zsh.org>
+
+	* 24536: Completion/Unix/Command/_cut: tweaks to 24529, spelling
+	fix.
 
 	* Mikael Magnusson: 24529: Completion/Unix/Command/_cut:
 	remaining fixes from 24526.
diff --git a/Completion/Unix/Command/_cut b/Completion/Unix/Command/_cut
index b17cf7ccb..81e8c257b 100644
--- a/Completion/Unix/Command/_cut
+++ b/Completion/Unix/Command/_cut
@@ -23,7 +23,7 @@ if _pick_variant gnu="Free Soft" unix --version; then
              bytes           "select only these bytes"
              characters      "select only these characters"
              delimiter       "use DELIM instead of TAB for field delimiter"
-             fields          "select only these fields and lines whitout the delimiter character"
+             fields          "select only these fields and lines without the delimiter character"
              n               "(ignored)"
              complement      "complement the set of selected bytes, characters or fields"
              only-delimited  "do not print lines not containing delimiters"
@@ -35,10 +35,10 @@ if _pick_variant gnu="Free Soft" unix --version; then
   esac
 
   _arguments \
-        '(--bytes -b+)'{--bytes=,-b}'['$_cut_args[bytes]']:list' \
-        '(--characters -c+)'{--characters=,-c}'['$_cut_args[characters]']:list' \
-        '(--delimiter -d+)'{--delimiter=,-d}'['$_cut_args[delimiter]']:delimeter' \
-        '(--fields -f+)'{--fields=,-f}'['$_cut_args[fields]']:list' \
+        '(--bytes -b)'{--bytes=,-b+}'['$_cut_args[bytes]']:list' \
+        '(--characters -c)'{--characters=,-c+}'['$_cut_args[characters]']:list' \
+        '(--delimiter -d)'{--delimiter=,-d+}'['$_cut_args[delimiter]']:delimeter' \
+        '(--fields -f)'{--fields=,-f+}'['$_cut_args[fields]']:list' \
         '-n['$_cut_args[n]']' \
         '--complement['$_cut_args[complement]']' \
         '(--only-delimited -s)'{--only-delimited,-s}'['$_cut_args[only-delimited]']' \