From 90bcd8ce20ab382ac2f6e0ca392085f4005b9b97 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 1 Jun 2010 16:21:09 +0200 Subject: Update check-feh-completion helper --- helpers/check-feh-completion | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'helpers') diff --git a/helpers/check-feh-completion b/helpers/check-feh-completion index 8744b03..2b08fb7 100755 --- a/helpers/check-feh-completion +++ b/helpers/check-feh-completion @@ -24,7 +24,11 @@ close($comp_file); open(my $man_file, '<', $man_path) or die("Can't open $man_path: $!"); while (my $line = <$man_file>) { - if ($line !~ /^ \.B \s (?: -(? . ), \s )? --(? [\w-]+ )/xo) { + if ($line !~ /^ \.It \s Cm \s (?: -(? . ) \s , )? --(? [\w-]+ )/xo) { + next; + } + + if ($+{'long'} =~ / ^ action \d $ /xo) { next; } -- cgit v1.2.3