summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-06-14 13:07:49 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-06-14 13:07:49 +0200
commitb6c48e211c4ef0512a97fe07f675747cfc3ff363 (patch)
tree773ea8455ddcb260c1016978ff210bf71f492b8a /bin
parent34c8e23fbb16c249fc7b09289cf90f76c375501f (diff)
Add train_product accessor to Route/Part and use it in bin/efa
Diffstat (limited to 'bin')
-rwxr-xr-xbin/efa6
1 files changed, 4 insertions, 2 deletions
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'} ) {