Unverified Commit ae5d925b authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

hafas: DB is dead, switch to VRN in documentation as well

parent d07dc6d7
Loading
Loading
Loading
Loading
+6 −7
Original line number Diff line number Diff line
@@ -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<hafas> 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<mot> types depend on the used service. Use C<< -m help >> to list them.

=item B<-s>, B<--service> I<service>

Use the API provided by I<service> for routing; defaults to DB (Deutsche Bahn).
See B<--list> for a list of known services.
Use the API provided by I<service> 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<hh>:I<mm>

@@ -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