diff options
-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 1257190df..941b3222c 100755 --- a/scripts/zsh.pl +++ b/scripts/zsh.pl @@ -7,7 +7,7 @@ use warnings; my $curl = $ARGV[0] || 'curl'; -my $regex = '\s+(?:(-[^\s]+),\s)?(--[^\s]+)\s([^\s.]+)?\s+(.*)'; +my $regex = '\s+(?:(-[^\s]+),\s)?(--[^\s]+)\s*(\<.+?\>)?\s+(.*)'; my @opts = parse_main_opts('--help', $regex); my $opts_str; |