mirror of
https://github.com/curl/curl.git
synced 2026-04-14 23:51:42 +03:00
delta: fix grep patterns after white space edits
To make the command line option counter work again
Follow-up to 308c347c8b
This commit is contained in:
parent
8870fd2b87
commit
d6be42eafa
1 changed files with 2 additions and 2 deletions
|
|
@ -82,8 +82,8 @@ my $bsetopts = setopts("git show $start:include/curl/curl.h|");
|
|||
my $nsetopts = $asetopts - $bsetopts;
|
||||
|
||||
# Number of command line options:
|
||||
my $aoptions=`grep -c '{"....--' src/tool_listhelp.c`;
|
||||
my $boptions=`git show $start:src/tool_listhelp.c 2>/dev/null | grep -c '{"....--'`;
|
||||
my $aoptions=`grep -c '{ *"....--' src/tool_listhelp.c`;
|
||||
my $boptions=`git show $start:src/tool_listhelp.c 2>/dev/null | grep -c '{ *"....--'`;
|
||||
my $noptions=$aoptions - $boptions;
|
||||
|
||||
# current local branch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue