From dac47c3ac8b865c7dfd66b0f1929200408f7eda7 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 1 May 2009 12:43:48 +0200 Subject: efa: Added alternative "efa city stop city stop" invocation --- bin/efa | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/bin/efa b/bin/efa index 29ab634..ca54b18 100755 --- a/bin/efa +++ b/bin/efa @@ -109,6 +109,10 @@ GetOptions( 'via=s{2}' => \@via, ); +unless (@from and @to) { + (@from[0,1], @to[0,1]) = @ARGV; +} + unless (@to == 2 and @from == 2) { print STDERR "Usage: efa --from --to [other options]\n"; exit(1); @@ -197,7 +201,13 @@ efa - unofficial efa.vrr.de command line client =head1 SYNOPSIS -B B<--from> I I B<--to> I I [ I ] +=over + +=item B B<--from> I I B<--to> I I [ I ] + +=item B [ I ] I I I I + +=back =head1 DESCRIPTION -- cgit v1.2.3