summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/hafas6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/hafas b/bin/hafas
index a322ee7..fd174d8 100755
--- a/bin/hafas
+++ b/bin/hafas
@@ -297,6 +297,12 @@ if ( my $err = $hafas->errstr ) {
{
show_similar_stops();
}
+ elsif ( $hafas->errcode and $hafas->errcode eq 'H890' ) {
+ say q{};
+ say 'HAFAS was unable to find suitable connections.';
+ say
+'Maybe your mode of transport (-m) or change (-c / -C) filters are too restrictive?';
+ }
exit 2;
}