diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/hafas-m | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/bin/hafas-m b/bin/hafas-m index a6899b0..d2344ed 100755 --- a/bin/hafas-m +++ b/bin/hafas-m @@ -79,17 +79,7 @@ if ($list_services) { exit 0; } -if ( not $service ) { - say STDERR 'Note: You have called hafas-m without specifying a service.'; - say STDERR q{}; - say STDERR 'Unfortunately, the previous default service (DB HAFAS)'; - say STDERR 'is no more, and there is no generic replacement available.'; - say STDERR q{}; - say STDERR 'Please use "hafas-m --list" to list supported services,'; - say STDERR 'and then select one via -s <service>.'; - say STDERR 'Falling back to ÖBB for now.'; - $service = 'ÖBB'; -} +$service //= 'VRN'; if ($use_cache) { my $cache_path = ( $ENV{XDG_CACHE_HOME} // "$ENV{HOME}/.cache" ) |