From: Daniel Stenberg Date: Thu, 10 Aug 2023 11:38:49 +0000 (+0200) Subject: docs/cmdline-opts/gen.pl: hide "added in" before 7.50.0 X-Git-Tag: curl-8_3_0~176 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b2118da399a383c583f5be74daa971b00703c396;p=thirdparty%2Fcurl.git docs/cmdline-opts/gen.pl: hide "added in" before 7.50.0 7.50.0 shipped on Jul 21 2016, over seven years ago. We no longer need to specify version changes for earlier releases in the generated output. This ups the limit from the previous 7.30.0 (Apr 12 2013) This hides roughly 35 "added in" mentions. Closes #11651 --- diff --git a/docs/cmdline-opts/gen.pl b/docs/cmdline-opts/gen.pl index 9855ebadb9..e11e5f06d0 100755 --- a/docs/cmdline-opts/gen.pl +++ b/docs/cmdline-opts/gen.pl @@ -169,8 +169,8 @@ sub too_old { elsif($version =~ /^(\d+)\.(\d+)/) { $a = $1 * 1000 + $2 * 10; } - if($a < 7300) { - # we consider everything before 7.30.0 to be too old to mention + if($a < 7500) { + # we consider everything before 7.50.0 to be too old to mention # specific changes for return 1; }