From 1dd56181c7c8ed4612fa0e42b46e1c9bf35c922c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 22 Apr 2010 19:41:02 +0200 Subject: Rewrite feh(1) using -mdoc macros --- scripts/checkopts.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/checkopts.pl') 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 (?:-(?.), )?--(?[\w-]+)/) { + if ($line =~ /^\.It Cm (?:-(?.) , )?--(?[\w-]+)/) { push(@{$options->{$+{long}}}, ['manual', $+{short}]); } -- cgit v1.2.3