From 0c57f93284293bca09c7e6ee54f0139cc5715afb Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 31 Mar 2024 16:50:03 +0200 Subject: Add BART service --- bin/hafas-m | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bin') 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; } } -- cgit v1.2.3