mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
cmdline/gen: replace options in texts better
This commit is contained in:
parent
b65f79d9e8
commit
1ef1f10cab
@ -33,7 +33,7 @@ sub printdesc {
|
||||
if($d =~ /^[^ ]/) {
|
||||
for my $k (keys %optlong) {
|
||||
my $l = manpageify($k);
|
||||
$d =~ s/--$k(\s)/$l$1/;
|
||||
$d =~ s/--$k([^a-z0-9_-])/$l$1/;
|
||||
}
|
||||
}
|
||||
print $d;
|
||||
|
Loading…
Reference in New Issue
Block a user