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

efa: Added <from> <via> <to> invocation

parent 3da8aff7
No related branches found
No related tags found
No related merge requests found
...@@ -125,7 +125,11 @@ GetOptions( ...@@ -125,7 +125,11 @@ GetOptions(
); );
unless (@from and @to) { unless (@from and @to) {
(@from[0,1], @to[0,1]) = @ARGV; if (@ARGV == 4) {
(@from[0,1], @to[0,1]) = @ARGV;
} elsif (@ARGV == 6) {
(@from[0,1], @via[0,1], @to[0,1]) = @ARGV;
}
} }
unless (@to == 2 and @from == 2) { unless (@to == 2 and @from == 2) {
...@@ -225,7 +229,7 @@ efa - unofficial efa.vrr.de command line client ...@@ -225,7 +229,7 @@ efa - unofficial efa.vrr.de command line client
=item B<efa> B<--from> I<city> I<stop> B<--to> I<city> I<stop> [ I<additional options> ] =item B<efa> B<--from> I<city> I<stop> B<--to> I<city> I<stop> [ I<additional options> ]
=item B<efa> [ I<options> ] I<from-city> I<from-stop> I<to-city> I<to-stop> =item B<efa> [ I<options> ] I<from-city> I<from-stop> [ I<via-city> I<via-stop> ] I<to-city> I<to-stop>
=back =back
......
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