From 8bb5f4ddf3c7d023196ad70d6af265424edebfee Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 1 Oct 2021 08:49:12 +0200 Subject: [PATCH] scripts/delta: count command line options in the new file ... which makes the shown delta number wrong until next release. --- scripts/delta | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/delta b/scripts/delta index 29b25597bb..7d5f2b52e8 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