diff options
author | Derf Null <derf@finalrewind.org> | 2023-04-10 15:12:33 +0200 |
---|---|---|
committer | Derf Null <derf@finalrewind.org> | 2023-04-10 15:12:33 +0200 |
commit | 15753db3b5af50ca441547f46a5a2e8d6fa86eb8 (patch) | |
tree | 66f33a79eaa6fda80ecdc58f8ab57b0ad415c9ee /bin/hafas-m | |
parent | 8ff409f67697cdb706dc7eaaa1c1bfc029ce1a04 (diff) |
Use separate Stop class for geoSearch stops
Diffstat (limited to 'bin/hafas-m')
-rwxr-xr-x | bin/hafas-m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/hafas-m b/bin/hafas-m index 53f232b..858b0ae 100755 --- a/bin/hafas-m +++ b/bin/hafas-m @@ -245,8 +245,8 @@ if ( $opt{geoSearch} ) { for my $result ( $status->results ) { printf( "%5.1f km %8d %s\n", - $result->{distance_m} * 1e-3, - $result->{eva}, $result->{name} + $result->distance_m * 1e-3, + $result->eva, $result->name ); } exit 0; |