]> granicus.if.org Git - curl/commit
zsh.pl: escape ':' character
authorAlessandro Ghedini <alessandro@ghedini.me>
Tue, 5 Feb 2019 21:06:26 +0000 (21:06 +0000)
committerAlessandro Ghedini <alessandro@ghedini.me>
Thu, 7 Feb 2019 21:51:53 +0000 (21:51 +0000)
commitb3cc8017b7364f588365be2b2629c49c142efdb7
tree9d3a47d5db923db7b236ac443d854578e50c458b
parentdbd32f3241b297b96ee11a51da1a661f528ca026
zsh.pl: escape ':' character

':' is interpreted as separator by zsh, so if used as part of the argument
or option's description it needs to be escaped.

The problem can be reproduced as follows:

 % curl --reso<TAB>
 % curl -E <TAB>

Bug: https://bugs.debian.org/921452
scripts/zsh.pl