summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Sequeira <phsequei@gmail.com>2014-06-29 01:11:56 -0400
committerAlessandro Ghedini <alessandro@ghedini.me>2014-07-05 00:26:00 +0200
commite165ccbf3be5475fc0e29384e9f8928cced86542 (patch)
treeacf57b8eb6ac5a38488c2290c30c4eda57f7a2c6
parentf78c0692e21d819456b9832dd50bdd2f0fa659f9 (diff)
downloadmpv-e165ccbf3be5475fc0e29384e9f8928cced86542.tar.bz2
mpv-e165ccbf3be5475fc0e29384e9f8928cced86542.tar.xz
TOOLS/zsh.pl: escape all colons in option descriptions
-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;
}