summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-05-09 10:00:40 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-05-09 10:00:40 +0200
commitfd5b343a0b56e0e887ab514b38496212beac7b8d (patch)
tree530a36440fdc57de2d1dd250b49fc75301891859 /bin
parent036fb77c6f84907aa0ff973cfe11d13c1c42c2de (diff)
parse route_info field
Diffstat (limited to 'bin')
-rwxr-xr-xbin/db-ris5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/db-ris b/bin/db-ris
index 5ba1f16..911a444 100755
--- a/bin/db-ris
+++ b/bin/db-ris
@@ -90,6 +90,10 @@ sub display_result {
@{$line}[ 0 .. 5 ]
);
+ if ( $line->[7] ) {
+ print " " . $line->[7] . "\n";
+ }
+
if ($show_full_route) {
print "\n" . $line->[6] . "\n\n\n";
}
@@ -128,6 +132,7 @@ for my $d ( $status->results() ) {
$d->info,
join( "\n",
map { sprintf( '%-5s %s', @{$_} ) } $d->route_timetable ),
+ $d->route_info,
]
);
}