summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-10-01 08:49:12 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-10-01 08:49:12 +0200
commit8bb5f4ddf3c7d023196ad70d6af265424edebfee (patch)
treec5b791c319454d15d0bd5c8588feca0f8f259f75
parent147c39b99c9d90da48f2d352308d83f2910c85a5 (diff)
downloadcurl-8bb5f4ddf3c7d023196ad70d6af265424edebfee.tar.gz
scripts/delta: count command line options in the new file
... which makes the shown delta number wrong until next release.
-rwxr-xr-xscripts/delta4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/delta b/scripts/delta
index 29b25597b..7d5f2b52e 100755
--- a/scripts/delta
+++ b/scripts/delta
@@ -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