diff --git a/bin/efa b/bin/efa index d9bc5ed9927d0e6f1a5f979ab50f189ce54bc67f..51e7c8ad9c2e9527672bcf02da5bf9f9e3727247 100755 --- a/bin/efa +++ b/bin/efa @@ -39,6 +39,11 @@ GetOptions( 'debug' => \$debug, ); +unless (@to == 2 and @from == 2) { + print STDERR "Usage: efa --from --to [other options]\n"; + exit(1); +} + @post{'place_origin','name_origin'} = @from; @post{'place_destination','name_destination'} = @to;