aboutsummaryrefslogtreecommitdiff
path: root/scripts/zsh.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/zsh.pl')
-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;