From 4522e465111e856a3911c47a54eb51f52e05e587 Mon Sep 17 00:00:00 2001
From: Daniel Friesel <derf@finalrewind.org>
Date: Fri, 19 Jun 2015 20:52:05 +0200
Subject: [PATCH] extend ignore-info defaults

todo: automatically remove Fahrradmitnahme when --bike is present, and at
some kind of wheelchair support to remove Einstiegshilfe and also enable
related EFA options (not supported by the library yet)
---
 Changelog | 2 ++
 bin/efa   | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/Changelog b/Changelog
index 43f3c7d..7c538fa 100644
--- a/Changelog
+++ b/Changelog
@@ -8,6 +8,8 @@ git HEAD
     * efa: Show current route information provided by the EFA backend, such
       as cancelled stops or diversions.
     * efa -E: Show transfer walking duration when available
+    * efa: Extend --ignore-info default (this option will probably be
+      overhauled in a future release)
 
 Travel::Routing::DE::VRR 2.11 - Sun Jun 14 2015
 
diff --git a/bin/efa b/bin/efa
index c69d8ab..7af6e36 100755
--- a/bin/efa
+++ b/bin/efa
@@ -17,7 +17,7 @@ use Getopt::Long qw/:config no_ignore_case/;
 use List::Util qw(first);
 
 our $VERSION = '2.11';
-my $ignore_info = 'Fahrradmitnahme';
+my $ignore_info = 'Fahrradmitnahme|Einstiegshilfe';
 my $efa;
 my $efa_url = 'http://efa.vrr.de/vrr/XSLT_TRIP_REQUEST2';
 my ( @from, @to, @via, $from_type, $to_type, $via_type );
-- 
GitLab