diff options
author | Daniel Friesel <derf@finalrewind.org> | 2014-10-07 18:46:56 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2014-10-07 18:46:56 +0200 |
commit | d630acf139b8f101d4364dec9d06caa151379a53 (patch) | |
tree | b2a9b8123c4f8086f1726af3eb2050e0913ccfc1 | |
parent | bd43bba1d8578ae200bbcc2f7ce2a2e1375b1754 (diff) |
efa -s: use case insensitive matching
-rwxr-xr-x | bin/efa | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 ( |