diff options
Diffstat (limited to 'bin/hafas-m')
-rwxr-xr-x | bin/hafas-m | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/hafas-m b/bin/hafas-m index ac14110..8bed8e5 100755 --- a/bin/hafas-m +++ b/bin/hafas-m @@ -163,9 +163,11 @@ sub parse_mot_options { if ($desc) { for my $mot ( @{ $desc->{productbits} } ) { if ( ref($mot) eq 'ARRAY' ) { - printf( "%-10s %s\n", @{$mot} ); + if ( $mot->[0] ne '_' ) { + printf( "%-10s %s\n", @{$mot} ); + } } - else { + elsif ( $mot ne '_' ) { say $mot; } } |