diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/db-iris | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/bin/db-iris b/bin/db-iris index c18b215..8031524 100755 --- a/bin/db-iris +++ b/bin/db-iris @@ -89,7 +89,7 @@ sub get_station { sub show_help { my ($code) = @_; - print 'Usage: db-iris [-m <motlist>] [-t <time>] ' + print 'Usage: db-iris [-f] ' . "[-v <via>] <station>\n" . "See also: man db-iris\n"; @@ -177,7 +177,8 @@ db-iris - Interface to the DeutscheBahn online departure monitor =head1 SYNOPSIS -B<db-iris> I<station> +B<db-iris> [B<-fV>] [B<-d> I<date>] [B<-t> I<time>] [B<-v> I<station>] +I<station> =head1 VERSION @@ -195,6 +196,26 @@ the big departure screens installed at most main stations. =over +=item B<-d>, B<--date> I<date> + +Request results for I<date> in dd.mm. oder dd.mm.YYYY format. Note that only +slight (a few hours max) deviations from the current time are supported by the +IRIS backend, larger ones will not return data. + +=item B<-f>, B<--full-route> + +Show the entire route of all trains (both before and after I<station>). + +=item B<-t>, B<--time> I<time> + +Request results for I<time> in HH:MM oder HH:MM:SS format. Note that only +slight deviations (a few hours max) from the current time are supported by the +IRIS backend, larger ones will not return data. + +=item B<-v>, B<--via> I<viastation> + +Only show trains serving I<viastation> after I<station>. + =item B<-V>, B<--version> Show version information. |