Commit 38636f6e authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

add -B / --bike-info option

parent 1ec0a737
Loading
Loading
Loading
Loading
+13 −2
Original line number Diff line number Diff line
@@ -207,6 +207,7 @@ GetOptions(
		arrive|a=s
		auto-url|discover-and-print|A
		bike|b
		bike-info|B
		date|d=s
		depart|time|t=s
		devmode
@@ -283,7 +284,10 @@ if ( not defined $ignore_info ) {
		q{|},
		grep { defined } (
			@{ $opt->{accessibility} } ? undef : 'Einstiegshilfe',
			$opt->{bike}          ? undef : 'Fahrradmitnahme',
			(
				     $opt->{bike}
				  or $opt->{'bike-info'}
			) ? undef : 'Fahrradmitnahme',
		)
	);
}
@@ -517,6 +521,13 @@ Note that this may cause B<efa> to display no routes at all -- In that case,
the backend was unable to find such connections or didn't know about
their bike-support.

=item B<-B>|B<--bike-info>

Show information about bike support, but do not select routes based on it.
In essence, this option simply changes the B<--ignore-info> default. It is
useful when B<--bike> did not return any routes even though most of the
route has bike support.

=item B<-d>|B<--date> I<dd>.I<mm>.[I<yyyy>]

Journey date