summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/hafas-m10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/hafas-m b/bin/hafas-m
index f76cbb0..5022a3a 100755
--- a/bin/hafas-m
+++ b/bin/hafas-m
@@ -3,7 +3,7 @@ use strict;
use warnings;
use 5.014;
-our $VERSION = '6.14';
+our $VERSION = '6.15';
use utf8;
use DateTime;
@@ -384,7 +384,7 @@ if ( $opt{journeyMatch} ) {
for my $result ( $status->results ) {
my $start = ( $result->route )[0];
my $end = ( $result->route )[-1];
- say $result->id;
+ say $result->id =~ s{ }{}gr;
print $result->name;
if ( $result->number ) {
printf( " | Nr %s", $result->number );
@@ -646,7 +646,7 @@ else {
}
if ($show_jid) {
- $info_line = $d->id . ' ' . $info_line;
+ $info_line = $d->id =~ s{ }{}gr . ' ' . $info_line;
}
my $entry = [
@@ -656,7 +656,7 @@ else {
? q{}
: format_delay( $d->delay, $delay_len ),
$d->name,
- $d->route_end,
+ $d->route_end // q{???},
( $d->platform // q{} ) . ( $d->is_changed_platform ? ' !' : q{} ),
$info_line,
$d
@@ -714,7 +714,7 @@ B<hafas-m> [B<-s> I<service>] [B<-l> I<language>] B<!>I<query>|I<journeyID>
=head1 VERSION
-version 6.14
+version 6.15
=head1 DESCRIPTION