summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorPhilip Sequeira <phsequei@gmail.com>2014-06-29 01:11:56 -0400
committerAlessandro Ghedini <alessandro@ghedini.me>2014-07-03 11:03:56 +0200
commitfd09578f0f88e6c729b4e60b19d484c5400da451 (patch)
tree9ecba2f31bb7882097edc632414a8cd67a298938 /TOOLS
parent4d9ce2993fc9d018d49aa2e23117688d8cc6142e (diff)
downloadmpv-fd09578f0f88e6c729b4e60b19d484c5400da451.tar.bz2
mpv-fd09578f0f88e6c729b4e60b19d484c5400da451.tar.xz
TOOLS/zsh.pl: escape all colons in option descriptions
Diffstat (limited to 'TOOLS')
-rwxr-xr-xTOOLS/zsh.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/TOOLS/zsh.pl b/TOOLS/zsh.pl
index 979c39eef4..53be1844ab 100755
--- a/TOOLS/zsh.pl
+++ b/TOOLS/zsh.pl
@@ -112,7 +112,7 @@ sub parse_opts {
if (defined $2) {
my $desc = $2;
- $desc =~ s/\:/\\:/;
+ $desc =~ s/\:/\\:/g;
$entry .= $desc;
}