From b9ed81508031a1b66aa2ef73bdb77cefb35b9f17 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 2 Feb 2025 08:59:23 +0100 Subject: Release v0.03 --- bin/dbris | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/dbris b/bin/dbris index 4656a67..64a3039 100755 --- a/bin/dbris +++ b/bin/dbris @@ -3,7 +3,7 @@ use strict; use warnings; use 5.020; -our $VERSION = '0.02'; +our $VERSION = '0.03'; use utf8; use DateTime; @@ -484,7 +484,7 @@ B [B<-d> I] [B<-t> I] [...] I =head1 VERSION -version 0.02 +version 0.03 =head1 DESCRIPTION @@ -506,6 +506,11 @@ Default: today. Show intermediate stops rather than just start/end of connection legs. +=item B<--first-class> + +Request first class offers. +Only useful when combined with B<--passengers>. + =item B<-j>, B<--with-jid> Show JourneyID for each connection segment. @@ -537,6 +542,21 @@ for 90 seconds in F<~/.cache/Travel-Routing-DE-DBRIS> (or a path relative to C<$XDG_CACHE_HOME>, if set). Use this option to disable caching. You can use B<--cache> to re-enable it. +=item B<-p>, B<--passengers> I[:I,...][B<;>I[:I,...]B<;>...] + +Use the specified passenger information to request ticket offers and show the +corresponding price for each connection. I must be adult, junior, or +senior. I can be one or more of bc25, bc50, bc100, bc25-first, +bc50-first, bc100-first. See also B<--first-class>. + +Note that B only has access to a single offer per connection. It is +typically the cheapest, but there is no information about what kind of ticket +it is. Lack of a listed price either means that ticket offers are not available +or (for bc100) that the connection does not require a ticket. There is no way +to distinguish between these two cases. B does not guarantee accuracy of +the provided information and must not be relied upon to determine whether a +given connection is free or not. + =item B<--raw-json> Print unprocessed API response as JSON and exit. @@ -547,6 +567,11 @@ Useful for debugging and development purposes. Request connections on or after I. Default: now. +=item B<-v>, B<--verbose> + +Include free-text messages related to delays, platform changes, and other +quality of service issues or announcements. + =item B<-V>, B<--version> Show version information and exit. -- cgit v1.2.3