diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-09-21 17:07:04 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-09-21 17:07:04 +0200 |
commit | f181e2ecb0c7df5dc5cb98d7310e79aa603a9ee7 (patch) | |
tree | 03bfc55cd3db0a710cd69bccfd76d7ab3afea246 /bin | |
parent | 2f6ab37acefe264eaf95c30764ce3ca9a882122d (diff) |
restore -L / lines
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/efa-m | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -251,7 +251,7 @@ sub show_lines { for my $l ( $efa->lines ) { - if ( ( @grep_lines and none { $l->name eq $_ } @grep_lines ) + if ( ( @grep_lines and none { $l->number eq $_ } @grep_lines ) or ( @grep_mots and none { $l->mot_name eq $_ } @grep_mots ) ) { next; @@ -261,8 +261,13 @@ sub show_lines { next; } - push( @output, - [ $l->type, $l->name, $l->direction // q{}, q{}, $l->route // q{} ] + push( + @output, + [ + $l->type, $l->number, + $l->direction // q{}, q{}, + $l->route // q{} + ] ); } |