diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-11-15 23:44:36 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-11-16 08:23:36 +0100 |
commit | 1ef1f10cab9dd6ca4b2e0e5fea9341a897a589bf (patch) | |
tree | 386f82ee9ea175e6db1b62255f0fc87881167281 /docs/cmdline-opts/gen.pl | |
parent | b65f79d9e84277594f0df98ae4b997053176983d (diff) | |
download | curl-1ef1f10cab9dd6ca4b2e0e5fea9341a897a589bf.tar.gz |
cmdline/gen: replace options in texts better
Diffstat (limited to 'docs/cmdline-opts/gen.pl')
-rwxr-xr-x | docs/cmdline-opts/gen.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cmdline-opts/gen.pl b/docs/cmdline-opts/gen.pl index 9bdfa4c31..680031003 100755 --- a/docs/cmdline-opts/gen.pl +++ b/docs/cmdline-opts/gen.pl @@ -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; |