diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-11-11 09:37:57 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-11-11 09:37:57 +0100 |
commit | 2f36742e18003fc7a95254d5591e15fcda9b5d99 (patch) | |
tree | df6b690de9868a53a0b9d09276bdf10530b3d9a2 /bin | |
parent | 3469d68df35ce0b6ad8ff74539d6d57d6fc55029 (diff) |
hafas: Adjust walking format to be like train connections
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/hafas | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -337,7 +337,8 @@ for my $res ( @{ $hafas->{results} } ) { ); } elsif ( $sec->type eq 'WALK' ) { - printf( "# Walk %dm (approx. %d minutes)\n", + printf( + "${output_bold}Walk %dm${output_reset} (approx. %d minutes)\n", $sec->distance, $sec->duration->in_units('minutes') ); } else { |