Loading bin/hafas +6 −7 Original line number Diff line number Diff line Loading @@ -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} }; Loading Loading @@ -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 Loading @@ -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 Loading Loading @@ -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> Loading Loading @@ -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 Loading Loading
bin/hafas +6 −7 Original line number Diff line number Diff line Loading @@ -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} }; Loading Loading @@ -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 Loading @@ -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 Loading Loading @@ -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> Loading Loading @@ -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 Loading