Skip to content
GitLab
Explore
Sign in
derf
Travel-Status-DE-HAFAS
Compare revisions
df93df4a9522d18d744a11ec51abf9370f36d45c to 6bb6c308552d1d9e092d245b08c85b6e589fa9d7
Commits on Source (2)
hafas-m(1): SYNOPSIS: Add -a and -v
· dd5bee77
Birte Kristina Friesel
authored
Apr 05, 2024
dd5bee77
hafas-m(1): Elaborate time zone stuff
· 6bb6c308
Birte Kristina Friesel
authored
Apr 05, 2024
6bb6c308
Hide whitespace changes
Inline
Side-by-side
bin/hafas-m
View file @
6bb6c308
...
...
@@ -666,8 +666,8 @@ hafas-m - Interface to the DeutscheBahn/HAFAS online departure monitor
=head1 SYNOPSIS
B<hafas-m> [B<-d> I<date>] [B<-t> I<time>] [B<-m> I<motlist>]
[B<-s> I<service>] [B<-l> I<language>] I<station>
B<hafas-m>
[B<-a>]
[B<-d> I<date>] [B<-t> I<time>] [B<-m> I<motlist>]
[B<-v> I<via>]
[B<-s> I<service>] [B<-l> I<language>] I<station>
B<hafas-m> [B<-s> I<service>] B<?>I<query>|I<lat>B<:>I<lon>
...
...
@@ -688,26 +688,28 @@ It has four operating modes that depend on the contents of its argument.
Show departures (or arrivals) at I<station>, optionally filtered by mode of
transport. I<station> may be given as a station name or HAFAS station ID.
For each train, B<hafas-m> shows
=over
=item * estimated departure (or arrival) time
=item * estimated departure (or arrival) time
,
=item * delay, if known
=item * delay, if known
,
=item * trip name, number, or line
=item * trip name, number, or line
,
=item * direction / destination
=item * direction / destination
,
=item * platform, if known (B<!> indicates a platform change)
=item * platform, if known (B<!> indicates a platform change)
, and
=item * expected occupancy of first and second class, if known
=item * expected occupancy of first and second class, if known
.
=back
Departure/arrival times are marked with a C<< * >> if they differ from local
time. Occupancy indicators are, from least occupied to fully booked: B<.> B<o>
B<*> B<!>.
Times are always given in the selected service's default time zone (see
B<--list>). Times that differ from the queried stop's local time are marked
with C<< * >>. Occupancy indicators are, from least occupied to fully booked:
B<.> B<o> B<*> B<!>.
=head2 Location Search (B<?>I<query>|I<lat>B<:>I<lon>)
...
...