mirror of
https://github.com/curl/curl.git
synced 2026-05-13 23:16:20 +03:00
cleancmd.pl: strip out backticked words
To make sure they are not spellchecked. Also, leaving two backticks is not good because they cause the spellchecker to misinterpret the markdown file so they have to be removed as well.
This commit is contained in:
parent
0e120c5b92
commit
cc16211a30
1 changed files with 3 additions and 0 deletions
3
.github/scripts/cleancmd.pl
vendored
3
.github/scripts/cleancmd.pl
vendored
|
|
@ -37,6 +37,9 @@ while(<F>) {
|
|||
}
|
||||
next if($ignore);
|
||||
|
||||
# strip out backticked words
|
||||
$_ =~ s/`[^`]+`//g;
|
||||
|
||||
# strip out all long command line options
|
||||
$_ =~ s/--[a-z0-9-]+//g;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue