Skip to content

Commit

Permalink
optionswhen.pl: convert to table
Browse files Browse the repository at this point in the history
Makes the outout more dense
  • Loading branch information
bagder committed Oct 10, 2023
1 parent 162169f commit 22bcae5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/optionswhen.pl
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,14 @@ sub verlink {
return $ver;
}

print "<table>\n";
for my $v (sort {vernum($b) <=> vernum($a) } keys %vers) {
printf "<b><a href=\"%s#%s\">$v</a></b><ol>\n", $changelog, verlink($v);
printf "<tr><td valign=\"top\"><a href=\"%s#%s\">$v</a></td><td>\n", $changelog, verlink($v);
for my $l (split(/ /, $added{$v})) {
printf "<a href=\"%s#%s\">$l%s</a><br>\n",
$html, $short{$l}?"$short{$l}":$l,
$short{$l}?" ($short{$l})":"";
}
print "</ol>\n";
print "</td></tr>\n";
}
print "</table>\n";

0 comments on commit 22bcae5

Please sign in to comment.