summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/zsh.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/zsh.pl b/scripts/zsh.pl
index 7520a15a6..6bcbb739b 100755
--- a/scripts/zsh.pl
+++ b/scripts/zsh.pl
@@ -45,7 +45,7 @@ sub parse_main_opts {
my $option = '';
- $desc =~ s/'/''/g if defined $desc;
+ $desc =~ s/'/'\\''/g if defined $desc;
$desc =~ s/\[/\\\[/g if defined $desc;
$desc =~ s/\]/\\\]/g if defined $desc;