From 22bcae5fa0c4aa7a520381946e2f83f087c72c56 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 10 Oct 2023 10:54:09 +0200 Subject: [PATCH] optionswhen.pl: convert to table Makes the outout more dense --- docs/optionswhen.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/optionswhen.pl b/docs/optionswhen.pl index b81cfdeb20..af8ef5ae47 100755 --- a/docs/optionswhen.pl +++ b/docs/optionswhen.pl @@ -52,12 +52,14 @@ sub verlink { return $ver; } +print "\n"; for my $v (sort {vernum($b) <=> vernum($a) } keys %vers) { - printf "$v
    \n", $changelog, verlink($v); + printf "
\n"; } +print "
$v\n", $changelog, verlink($v); for my $l (split(/ /, $added{$v})) { printf "$l%s
\n", $html, $short{$l}?"$short{$l}":$l, $short{$l}?" ($short{$l})":""; } - print "\n"; + print "
\n";