summaryrefslogtreecommitdiff
path: root/bin/efa
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-10-07 18:46:56 +0200
committerDaniel Friesel <derf@finalrewind.org>2014-10-07 18:46:56 +0200
commitd630acf139b8f101d4364dec9d06caa151379a53 (patch)
treeb2a9b8123c4f8086f1726af3eb2050e0913ccfc1 /bin/efa
parentbd43bba1d8578ae200bbcc2f7ce2a2e1375b1754 (diff)
efa -s: use case insensitive matching
Diffstat (limited to 'bin/efa')
-rwxr-xr-xbin/efa2
1 files changed, 1 insertions, 1 deletions
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 (