diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-06-18 15:52:16 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-06-18 15:52:16 +0200 |
commit | 920477d9a0a0b5d5178208fe3da342e5b925640f (patch) | |
tree | 6f620a093eb063e1c35d3049a78735e37ed49397 /bin | |
parent | f0b539d7c6619eb3c05a57bdc1b0f7d06e8f0bd5 (diff) |
parse most info and make it available properly
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/efa | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -145,13 +145,16 @@ sub display_connection { $c->delay, $c->departure_stime, $c->arrival_stime ); } - for my $extra ( $c->extra ) { - + for my $extra ( $c->sched_info ) { if ( not( length $ignore_info and $extra =~ /$ignore_info/i ) ) { say "# $extra"; } } + for my $notice ( $c->current_info ) { + printf( "# %s - %s\n", $notice->{subtitle}, $notice->{subject} ); + } + if ( $opt->{maps} ) { for my $m ( $c->departure_routemaps, $c->departure_stationmaps ) { say "# $m"; |