summaryrefslogtreecommitdiff
path: root/scripts/checkopts.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/checkopts.pl')
-rwxr-xr-xscripts/checkopts.pl2
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}]);
}