summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-09-22 15:19:21 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-09-22 15:19:21 +0200
commitc0e55de50c380638e0f3668cac79c58b4dccde10 (patch)
tree0a49c2ce878c04063ef2a1d53f0cb83f12a54111 /bin
parent3dd1b3a53d48c5b1c76418fe37823ea97e58ccde (diff)
add accessors for identified stop
Diffstat (limited to 'bin')
-rwxr-xr-xbin/efa-m9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/efa-m b/bin/efa-m
index 7530326..3664325 100755
--- a/bin/efa-m
+++ b/bin/efa-m
@@ -290,6 +290,15 @@ sub show_results {
$delay_fmt = $delay_len + 3;
}
+ if ( scalar $efa->stops > 1 ) {
+ for my $stop ( $efa->stops ) {
+ say $stop->full_name;
+ }
+ }
+ else {
+ say $efa->stop_name;
+ }
+
for my $d ( $efa->results ) {
my @output_line;