Skip to content

Commit 0d14f80

Browse files
committed
Merge branch 'ma/scalar-to-main-fix'
Fix manpage generation. * ma/scalar-to-main-fix: cmd-list.perl: fix identifying man sections
2 parents 4b79ee4 + 32c6fff commit 0d14f80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/cmd-list.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ sub format_one {
1010
$state = 0;
1111
open I, '<', "$name.txt" or die "No such file $name.txt";
1212
while (<I>) {
13-
if (/^(git|scalar)[a-z0-9-]*\(([0-9])\)$/) {
13+
if (/^(?:git|scalar)[a-z0-9-]*\(([0-9])\)$/) {
1414
$mansection = $1;
1515
next;
1616
}

0 commit comments

Comments
 (0)