about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2021-08-16 02:44:22 +0300
committerOliver Kiddle <opk@zsh.org>2021-08-16 02:44:22 +0300
commit71ff799b3cb78998c0c73b3f40068830dcb1441d (patch)
treeb76f7da00d320a137c1429ccff3d59b37fbe08e1
parent1449f81183cbb8aef7e7bc49159331f9d6a950bb (diff)
downloadzsh-71ff799b3cb78998c0c73b3f40068830dcb1441d.tar.gz
zsh-71ff799b3cb78998c0c73b3f40068830dcb1441d.tar.xz
zsh-71ff799b3cb78998c0c73b3f40068830dcb1441d.zip
49160: fix quoting for xmllint --pretty completion
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_xmlsoft2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7c16bbf29..da95fd927 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2021-08-16  Oliver Kiddle  <opk@zsh.org>
+
+	* 49160: Completion/Unix/Command/_xmlsoft: fix quoting for
+	xmllint --pretty completion
+
 2021-08-14  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
 	* users/26734: Doc/Zsh/builtins.yo: docs: read: Notate the
diff --git a/Completion/Unix/Command/_xmlsoft b/Completion/Unix/Command/_xmlsoft
index 6f7e3b7c9..9f1206988 100644
--- a/Completion/Unix/Command/_xmlsoft
+++ b/Completion/Unix/Command/_xmlsoft
@@ -98,7 +98,7 @@ case $service in
       '--format[reformat/reindent the input]' \
       '--encode[output in the given encoding]:encoding:(${encoding[@]})' \
       '--dropdtd[remove the DOCTYPE of the input docs]' \
-      "--pretty[pretty-print in a particular style]:style:((0\:don't\ pretty\ print 1\:reformat 2\:add\ whitespace))" \
+      "--pretty[pretty-print in a particular style]:style:((0\:don\'t\ pretty\ print 1\:reformat 2\:add\ whitespace))" \
       '--c14n[save in W3C canonical format]' \
       '--c14n11[save in W3C canonical format v1.1 (with comments)]' \
       '--exc-c14n[save in W3C exclusive canonical format]' \