From 19e4975742b1a879d5c6e05ee4cb8cce9b981e61 Mon Sep 17 00:00:00 2001
From: Daniel Friesel <derf@finalrewind.org>
Date: Mon, 22 Jun 2015 23:15:05 +0200
Subject: [PATCH] documentation: improve notes about -b / bikeTakeAlong

---
 bin/efa                      | 5 ++++-
 lib/Travel/Routing/DE/EFA.pm | 4 +++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/bin/efa b/bin/efa
index 352287c..3f0822c 100755
--- a/bin/efa
+++ b/bin/efa
@@ -465,7 +465,10 @@ EFA services under considerable additional load.
 
 =item B<-b>|B<--bike>
 
-Choose connections allowing to carry a bike
+Request connections allowing the passenger to take a bike with them.
+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<-d>|B<--date> I<dd>.I<mm>.[I<yyyy>]
 
diff --git a/lib/Travel/Routing/DE/EFA.pm b/lib/Travel/Routing/DE/EFA.pm
index c21a349..a87677f 100644
--- a/lib/Travel/Routing/DE/EFA.pm
+++ b/lib/Travel/Routing/DE/EFA.pm
@@ -1042,7 +1042,9 @@ Set walk speed.  Default: B<normal>
 
 =item B<with_bike> => B<0>|B<1>
 
-If true: Prefer connections allowing passengers with bikes
+If true: Request connections allowing passengers with bikes. Note that the
+backed may return an empty result if no such connection exists or bike-support
+simply isn't known.
 
 =item B<lwp_options> => I<\%hashref>
 
-- 
GitLab