summaryrefslogtreecommitdiff
path: root/bin/hafas-m
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-09-24 23:57:41 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-09-24 23:57:41 +0200
commite8ab531281f8bf494085f41c0a6202be27b8d7d6 (patch)
treef721ec46a7bd7b4946503e34e4e1b15350c4f7e6 /bin/hafas-m
parent5ccc860530ecd985d036a16870ae530cd340e658 (diff)
fix -m check
Diffstat (limited to 'bin/hafas-m')
-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;
}