From d630acf139b8f101d4364dec9d06caa151379a53 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 7 Oct 2014 18:46:56 +0200 Subject: efa -s: use case insensitive matching --- bin/efa | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/efa b/bin/efa index d716df7..056cfd6 100755 --- a/bin/efa +++ b/bin/efa @@ -235,7 +235,7 @@ if ( $opt->{exclude} ) { } if ( $opt->{service} ) { - my $service = first { $_->{shortname} eq $opt->{service} } + my $service = first { lc($_->{shortname}) eq lc($opt->{service}) } Travel::Routing::DE::EFA::get_efa_urls(); if ( not $service ) { printf STDERR ( -- cgit v1.2.3