]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
scripts/delta: count command line options in the new file
authorDaniel Stenberg <daniel@haxx.se>
Fri, 1 Oct 2021 06:49:12 +0000 (08:49 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 1 Oct 2021 06:49:12 +0000 (08:49 +0200)
... which makes the shown delta number wrong until next release.

scripts/delta

index 29b25597bb1ffefe86d6f21741cd6b094c5cc917..7d5f2b52e8a04e975b85e458364eba6a102799e1 100755 (executable)
@@ -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