summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/hafas-m2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hafas-m b/bin/hafas-m
index 2cb7a2b..de047e1 100755
--- a/bin/hafas-m
+++ b/bin/hafas-m
@@ -86,7 +86,7 @@ sub parse_mot_options {
my $default_yes = 1;
- if ($hafas_url) {
+ if ( $types and $hafas_url ) {
say STDERR 'The options -u and -m cannot be combined. Discarding -m';
return;
}