diff options
Diffstat (limited to 'scripts/zsh.pl')
-rwxr-xr-x | scripts/zsh.pl | 2 |
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; |