summaryrefslogtreecommitdiff
path: root/bin/hafas
diff options
context:
space:
mode:
Diffstat (limited to 'bin/hafas')
-rwxr-xr-xbin/hafas4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/hafas b/bin/hafas
index 543579a..a322ee7 100755
--- a/bin/hafas
+++ b/bin/hafas
@@ -170,7 +170,9 @@ sub parse_mot_options {
my @mots = @{ $desc->{productbits} };
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 {
say $mot;