summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-01-19 12:01:27 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2025-01-19 12:01:27 +0100
commit9fed54b19e8d96039d576f24787d84d35a2a4e7b (patch)
treefb527184b990571bbad9c43107a5e86285a96d55
parent93174faab3ab4bee831642e78e437b6f82ae65a4 (diff)
update dbris(1)
-rwxr-xr-xbin/dbris25
1 files changed, 24 insertions, 1 deletions
diff --git a/bin/dbris b/bin/dbris
index a698185..284022c 100755
--- a/bin/dbris
+++ b/bin/dbris
@@ -340,7 +340,7 @@ dbris - Interface to bahn.de public transit routing service
=head1 SYNOPSIS
-B<dbris> [B<-d> I<DD.MM.YYYY>] [B<-t> I<HH:MM>] I<from-stop> I<to-stop>
+B<dbris> [B<-d> I<DD.MM.YYYY>] [B<-t> I<HH:MM>] [...] I<from-stop> I<to-stop>
=head1 VERSION
@@ -355,12 +355,34 @@ bahn.de. It requests connections between two stops and prints the results.
=over
+=item B<-d>, B<--date> I<dd.mm.>[I<yyyy>]
+
+Request connections for a specific day.
+Default: today.
+
+=item B<-f>, B<--full-route>
+
+Show intermediate stops rather than just start/end of connection legs.
+
=item B<--json>
Print result(s) as JSON and exit. This is a dump of internal data structures
and not guaranteed to remain stable between minor versions. Please use the
Travel::Status::DE::DBRIS(3pm) module if you need a proper API.
+=item B<-l>, B<--language> I<lang>
+
+Tell bahn.de to provide messages in I<lang> (ISO 639-1 language code).
+Known supported languages are: cs da de en es fr it nl pl.
+Default: de.
+
+=item B<-m>, B<--modes-of-transit> I<mot1>[,I<mot2>,...]
+
+Only show connections with the specified modes of transit.
+Supported modes of transit are:
+ICE, EC_IC, IR, REGIONAL, SBAHN, BUS, SCHIFF, UBAHN, TRAM, ANRUFPFLICHTIG.
+Default: all modes.
+
=item B<--no-cache>
By default, if the Cache::File module is available, server replies are cached
@@ -375,6 +397,7 @@ Useful for debugging and development purposes.
=item B<-t>, B<--time> I<HH:MM>
+Request connections on or after I<HH:MM>.
Default: now.
=item B<-V>, B<--version>