From 6e68f95cda2c8606c61ec9ecb39deb2865bf5879 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 19 Jan 2025 07:56:20 +0100 Subject: Remove copy-pasted documentation leftovers --- bin/dbris | 58 +++------------------------------------------------------- 1 file changed, 3 insertions(+), 55 deletions(-) diff --git a/bin/dbris b/bin/dbris index 6640c7c..8bae0e7 100755 --- a/bin/dbris +++ b/bin/dbris @@ -301,64 +301,13 @@ version 0.01 =head1 DESCRIPTION -B is an interface to the public transport services available on -bahn.de. According to word of mouth, it uses the HAFAS backend that can also -be accessed by Travel::Status::DE::HAFAS(3pm)'s DB service. However, the -bahn.de entry point is likely more reliable in the long run. - -B can serve as an arrival/departure monitor, request details about a -specific trip, and look up public transport stops by name or geolocation. The -operating mode depends on the contents of its non-option argument. - -=head2 Departure Monitor (I) - -Show departures at I. I may be given as a station name or -station ID. For each departure, B shows - -=over - -=item * estimated departure time, - -=item * delay, if known, - -=item * trip name, number, or line, - -=item * direction / destination, and - -=item * platform, if known. - -=back - -=head2 Trip details (I) - -List intermediate stops of I (as given by the departure monitor when -invoed with B<-j> / B<--with-jid>) with arrival/departure time, delay (if -available), occupancy (if available), and stop name. Also includes some generic -trip information. - -=head2 Location Search (BI|IB<:>I) - -List stations that match I or that are located in the vicinity of -IB<:>I geocoordinates with station ID and name. +B is an interface to the public transport routing service available on +bahn.de. It requests connections between two stops and prints the results. =head1 OPTIONS -Values in brackets indicate options that only apply to the corresponding -operating mode(s). - =over -=item B<-d>, B<--date> I (departure monitor) - -Request departures on the specified date. -Default: today. - -=item B<-j>, B<--with-jid> (departure monitor) - -Show JourneyID for each listed arrival/departure. -These can be used to obtain details on individual trips with subsequent -B invocations. - =item B<--json> Print result(s) as JSON and exit. This is a dump of internal data structures @@ -377,9 +326,8 @@ B<--cache> to re-enable it. Print unprocessed API response as JSON and exit. Useful for debugging and development purposes. -=item B<-t>, B<--date> I (departure monitor) +=item B<-t>, B<--time> I -Request departures on or after the specified time. Default: now. =item B<-V>, B<--version> -- cgit v1.2.3