diff options
| author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-11-15 21:11:40 +0100 |
|---|---|---|
| committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-11-15 21:11:40 +0100 |
| commit | ab108ee2da48b4e234c73ea3712e34b566759c0f (patch) | |
| tree | 0438745231221b6c6c04939ee7f809e3b9568f9b /bin | |
| parent | 6d406383f4852273cd89f6aa8fa07ac98328930a (diff) | |
Journey: expose admin_id / admin_ids
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); |
