summaryrefslogtreecommitdiff
path: root/bin/hafas-m
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-10-26 19:51:38 +0200
committerDaniel Friesel <derf@finalrewind.org>2022-10-26 19:51:38 +0200
commit6796827275793f8a3af33fc5a6ce24dd65657f97 (patch)
tree9a4392fdc5792fbc5c03a8f5f176a99005b114c9 /bin/hafas-m
parente26377f9365e47eb96b3b3f1da2b1d844914408e (diff)
Journey: Rework train/line accessors
Diffstat (limited to 'bin/hafas-m')
-rwxr-xr-xbin/hafas-m2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hafas-m b/bin/hafas-m
index 66c2ca2..a17443f 100755
--- a/bin/hafas-m
+++ b/bin/hafas-m
@@ -269,7 +269,7 @@ for my $d ( $status->results ) {
$d->is_cancelled
? 'CANCELED'
: ( $d->delay ? sprintf( '%+d', $d->delay ) : q{} ),
- $d->train,
+ $d->name,
$d->route_end,
( $d->platform // q{} ) . ( $d->is_changed_platform ? ' !' : q{} ),
$info_line,