From ae5d925b8ca4c9d6f3ee2c32e8e8c892fa3446a7 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 19 Jan 2025 08:05:07 +0100 Subject: hafas: DB is dead, switch to VRN in documentation as well --- bin/hafas | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'bin/hafas') diff --git a/bin/hafas b/bin/hafas index fc525cf..b824b3f 100755 --- a/bin/hafas +++ b/bin/hafas @@ -169,7 +169,7 @@ sub parse_mot_options { for my $type ( split( qr{,}, $types ) ) { if ( $type eq 'help' or $type eq 'list' or $type eq q{?} ) { - $service //= 'DB'; + $service //= 'VRN'; my $desc = Travel::Routing::DE::HAFAS::get_service($service); if ($desc) { my @mots = @{ $desc->{productbits} }; @@ -494,7 +494,7 @@ __END__ =head1 NAME -hafas - Interface to HAFAS (e.g. Deutsche Bahn) itinerary services +hafas - Interface to HAFAS-based itinerary services =head1 SYNOPSIS @@ -508,8 +508,7 @@ version 0.09 =head1 DESCRIPTION B is a command line client for HAFAS-based public transit itinerary -services, e.g. the one operated by Deutsche Bahn. It requests connections -between two stops and prints the results. +services. It requests connections between two stops and prints the results. =head1 OPTIONS @@ -568,8 +567,8 @@ The I types depend on the used service. Use C<< -m help >> to list them. =item B<-s>, B<--service> I -Use the API provided by I for routing; defaults to DB (Deutsche Bahn). -See B<--list> for a list of known services. +Use the API provided by I for routing; defaults to VRN +(Verkehrsverbund Rhein-Neckar). See B<--list> for a list of known services. =item B<-t>, B<--time>, B<--depart> I:I @@ -623,7 +622,7 @@ None. =head1 BUGS AND LIMITATIONS -The non-default services (anything other than DB) are not well-tested. +Some services are not well-tested. =head1 AUTHOR -- cgit v1.2.3