Skip to content
Snippets Groups Projects
Commit 5ccc8605 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

hafas-m: print warning when combining -m and -u

parent 47826567
No related branches found
No related tags found
No related merge requests found
......@@ -86,6 +86,11 @@ sub parse_mot_options {
my $default_yes = 1;
if ($hafas_url) {
say STDERR 'The options -u and -m cannot be combined. Discarding -m';
return;
}
for my $type ( split( qr{,}, $types ) ) {
if ( $type eq 'help' or $type eq 'list' or $type eq q{?} ) {
if ( not $hafas_url ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment