From 87d8ac2815c581c2c336f74d324c1ca92316b14e Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 15 May 2009 19:59:01 +0200 Subject: efa: Added invocation --- bin/efa | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bin/efa b/bin/efa index cff35e9..6725a54 100755 --- a/bin/efa +++ b/bin/efa @@ -125,7 +125,11 @@ GetOptions( ); 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) { @@ -225,7 +229,7 @@ efa - unofficial efa.vrr.de command line client =item B B<--from> I I B<--to> I I [ I ] -=item B [ I ] I I I I +=item B [ I ] I I [ I I ] I I =back -- cgit v1.2.3