diff options
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/dbris-m | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/dbris-m b/bin/dbris-m index 008c92d..975100c 100755 --- a/bin/dbris-m +++ b/bin/dbris-m @@ -389,11 +389,16 @@ elsif ( $opt{journey} and not( $raw_json_output or $json_output ) ) { } } - printf( "%s %s am %s\n\n", + printf( "%s %s am %s\n", $trip->type, $trip->train_no // $trip->number, $trip->day->strftime('%d.%m.%Y') ); + if ( $trip->admin_ids ) { + printf( "Betrieb: %s\n", join( q{, }, $trip->admin_ids ) ); + } + say q{}; + for my $stop ( $trip->route ) { if ( $stop == $mark_stop ) { print($output_bold); |
