diff --git a/scripts/completion.pl b/scripts/completion.pl index a2cfc37df7..bc4cc9fea3 100755 --- a/scripts/completion.pl +++ b/scripts/completion.pl @@ -153,7 +153,7 @@ sub parse_main_opts { $b =~ /([^=]*)/; my $mb = $1; length($mb) <=> length($ma) || $ma cmp $mb - } @list if $shell eq 'zsh'; + } @list; return @list; }