diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-09-24 23:57:41 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-09-24 23:57:41 +0200 |
commit | e8ab531281f8bf494085f41c0a6202be27b8d7d6 (patch) | |
tree | f721ec46a7bd7b4946503e34e4e1b15350c4f7e6 /bin/hafas-m | |
parent | 5ccc860530ecd985d036a16870ae530cd340e658 (diff) |
fix -m check
Diffstat (limited to 'bin/hafas-m')
-rwxr-xr-x | bin/hafas-m | 2 |
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; } |