summaryrefslogtreecommitdiff
path: root/bin/hafas
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-11-17 22:23:40 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2023-11-17 22:23:40 +0100
commit06715210605df16181cf43c7c60cd39678a95c01 (patch)
treea0afbc4ae79b667fb550b22ebce0620180ac36dd /bin/hafas
parent692c8d22b3e55fe0b8dbf7defcada9f8d31f0a8e (diff)
Section: parse load data
Diffstat (limited to 'bin/hafas')
-rwxr-xr-xbin/hafas4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/hafas b/bin/hafas
index 5514ea5..a8a2d45 100755
--- a/bin/hafas
+++ b/bin/hafas
@@ -348,8 +348,8 @@ for my $res ( $hafas->connections ) {
for my $sec ( $res->sections ) {
if ( $sec->type eq 'JNY' ) {
- printf( "${output_bold}%s${output_reset} → %s\n",
- $sec->name, $sec->direction );
+ printf( "${output_bold}%s${output_reset} → %s %s\n",
+ $sec->name, $sec->direction, display_occupancies($sec->load) );
printf(
"%-5s %-${delay_fmt}s ab %s%s%s\n",
$sec->dep_cancelled