From: Daniel Stenberg Date: Fri, 1 Oct 2021 06:49:12 +0000 (+0200) Subject: scripts/delta: count command line options in the new file X-Git-Tag: curl-7_80_0~146 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8bb5f4ddf3c7d023196ad70d6af265424edebfee;p=thirdparty%2Fcurl.git scripts/delta: count command line options in the new file ... which makes the shown delta number wrong until next release. --- 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