scripts/delta: count command line options in the new file

... which makes the shown delta number wrong until next release.
This commit is contained in:
Daniel Stenberg 2021-10-01 08:49:12 +02:00
parent 147c39b99c
commit 8bb5f4ddf3
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -62,8 +62,8 @@ $bsetopts=`git show $start:include/curl/curl.h | grep '^ CURLOPT(' | grep -cv O
$nsetopts = $asetopts - $bsetopts;
# Number of command line options:
$aoptions=`grep -c '{"....--' src/tool_help.c`;
$boptions=`git show $start:src/tool_help.c | grep -c '{"....--'`;
$aoptions=`grep -c '{"....--' src/tool_listhelp.c`;
$boptions=`git show $start:src/tool_listhelp.c | grep -c '{"....--'`;
$noptions=$aoptions - $boptions;
# Number of files in git