summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/efa-m11
1 files changed, 8 insertions, 3 deletions
diff --git a/bin/efa-m b/bin/efa-m
index f4211a3..77f80e1 100755
--- a/bin/efa-m
+++ b/bin/efa-m
@@ -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{}
+ ]
);
}