diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/checkopts.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkopts.pl b/scripts/checkopts.pl index a2fe2b5..bd7cd6e 100755 --- a/scripts/checkopts.pl +++ b/scripts/checkopts.pl @@ -22,7 +22,7 @@ close($c_fh); open(my $man_fh, '<', 'man/feh.1') or die("Can't read feh.1: $!"); while (my $line = <$man_fh>) { - if ($line =~ /^\.B (?:-(?<short>.), )?--(?<long>[\w-]+)/) { + if ($line =~ /^\.It Cm (?:-(?<short>.) , )?--(?<long>[\w-]+)/) { push(@{$options->{$+{long}}}, ['manual', $+{short}]); } |