diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-01 16:21:09 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-01 16:21:09 +0200 |
commit | 90bcd8ce20ab382ac2f6e0ca392085f4005b9b97 (patch) | |
tree | 791bf1680f92d359b2f6f38418f07d882446fc96 /helpers | |
parent | 046fa952751500721a0a189746112d7afde2498d (diff) |
Update check-feh-completion helper
Diffstat (limited to 'helpers')
-rwxr-xr-x | helpers/check-feh-completion | 6 |
1 files changed, 5 insertions, 1 deletions
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 (?: -(?<short> . ), \s )? --(?<long> [\w-]+ )/xo) { + if ($line !~ /^ \.It \s Cm \s (?: -(?<short> . ) \s , )? --(?<long> [\w-]+ )/xo) { + next; + } + + if ($+{'long'} =~ / ^ action \d $ /xo) { next; } |