diff options
Diffstat (limited to 'bin')
-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; |