mirror of
https://github.com/curl/curl.git
synced 2026-05-30 10:17:28 +03:00
cmdline/gen: replace options in texts better
This commit is contained in:
parent
b65f79d9e8
commit
1ef1f10cab
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue