Browse Source

Merge branch 'ma/scalar-to-main-fix'

Fix manpage generation.

* ma/scalar-to-main-fix:
  cmd-list.perl: fix identifying man sections
maint
Junio C Hamano 3 years ago
parent
commit
0d14f80f94
  1. 2
      Documentation/cmd-list.perl

2
Documentation/cmd-list.perl

@ -10,7 +10,7 @@ sub format_one { @@ -10,7 +10,7 @@ sub format_one {
$state = 0;
open I, '<', "$name.txt" or die "No such file $name.txt";
while (<I>) {
if (/^(git|scalar)[a-z0-9-]*\(([0-9])\)$/) {
if (/^(?:git|scalar)[a-z0-9-]*\(([0-9])\)$/) {
$mansection = $1;
next;
}

Loading…
Cancel
Save