diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/dbris-m | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/dbris-m b/bin/dbris-m index 2049f2d..bf75a29 100755 --- a/bin/dbris-m +++ b/bin/dbris-m @@ -211,8 +211,7 @@ elsif ( $opt{journey} ) { } } - say $trip->train; - say q{}; + printf( "%s am %s\n\n", $trip->train, $trip->day->strftime('%d.%m.%Y') ); for my $stop ( $trip->route ) { if ( $stop == $mark_stop ) { @@ -242,6 +241,12 @@ elsif ( $opt{journey} ) { print($output_reset); } } + if ( $trip->attributes ) { + say q{}; + } + for my $attr ( $trip->attributes ) { + say $attr->{value}; + } if ( $trip->messages ) { say q{}; } |