about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin von Wittich <martin.von.wittich@iserv.eu>2020-02-06 13:24:00 -0600
committerdana <dana@dana.is>2020-02-06 13:24:00 -0600
commit1f238665f6a4f9fce9232d305a95c58f13ed0c5a (patch)
tree8e2886983bc9c9b1f921bf5f4273a006960bbea7
parent8a12bd81aaa11eb2aa3e95c8b7b95fb8e2a9bebc (diff)
downloadzsh-1f238665f6a4f9fce9232d305a95c58f13ed0c5a.tar.gz
zsh-1f238665f6a4f9fce9232d305a95c58f13ed0c5a.tar.xz
zsh-1f238665f6a4f9fce9232d305a95c58f13ed0c5a.zip
_diff_options: Restore -w completion lost in workers/43351
-rw-r--r--ChangeLog6
-rw-r--r--Completion/Unix/Type/_diff_options1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2b0d1d4de..0116724b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2020-02-06  dana  <dana@dana.is>
+
+	* Martin von Wittich: 45388 (tweaked):
+	Completion/Unix/Type/_diff_options: Restore -w completion lost
+	in workers/43351
+
 2020-02-03  Daniel Shahaf  <danielsh@apache.org>
 
 	* 45368: Test/B01cd.ztst, Test/D02glob.ztst: Add tests for
diff --git a/Completion/Unix/Type/_diff_options b/Completion/Unix/Type/_diff_options
index 4fd27442e..440913dff 100644
--- a/Completion/Unix/Type/_diff_options
+++ b/Completion/Unix/Type/_diff_options
@@ -92,6 +92,7 @@ if _pick_variant -r variant -c $cmd gnu=GNU unix -v || [[ $OSTYPE = freebsd<12->
     '--ignore-file-name-case[ignore case when comparing file names]' \
     '!(--ignore-file-name-case)--no-ignore-file-name-case' \
     '(-b --ignore-space-change)'{-b,--ignore-space-change}'[ignore changes in the amount of white space]' \
+    '(-w --ignore-all-space)'{-w,--ignore-all-space}'[ignore all white space]' \
     '(-B --ignore-blank-lines)'{-B,--ignore-blank-lines}'[ignore lines that are all blank]' \
     '(-I --ignore-matching-lines)'{-I+,--ignore-matching-lines=}'[ignore lines that match regex]:line exclusion regex:' \
     '--strip-trailing-cr[strip trailing carriage return on input]' \