From b6c48e211c4ef0512a97fe07f675747cfc3ff363 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 14 Jun 2015 13:07:49 +0200 Subject: Add train_product accessor to Route/Part and use it in bin/efa --- bin/efa | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/efa b/bin/efa index eaa0a22..d56304d 100755 --- a/bin/efa +++ b/bin/efa @@ -137,8 +137,10 @@ sub display_connection { printf( "%-5s ab %-30s %-20s %s\n", - $c->departure_time, $c->departure_stop_and_platform, - $c->train_line, $c->train_destination, + $c->departure_time, + $c->departure_stop_and_platform, + $c->train_line || $c->train_product, + $c->train_destination, ); if ( $opt->{'full-route'} ) { -- cgit v1.2.3