From 7ee990debb0a75c45c02a82b1fdf34691f945da4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 4 Apr 2009 18:32:41 +0200 Subject: Some restructuring --- bin/efa | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/bin/efa b/bin/efa index 0d57441..be2b29c 100755 --- a/bin/efa +++ b/bin/efa @@ -32,16 +32,16 @@ $post{type_origin} = 'stop'; $post{type_destination} = 'stop'; GetOptions( - 'from=s{2}' => \@from, - 'to=s{2}' => \@to, - 'via=s{2}' => \@via, - 'time=s' => \$time, - 'depart=s' => \$time_depart, 'arrive=s' => \$time_arrive, 'date=s' => \$date, 'debug' => \$debug, + 'depart=s' => \$time_depart, + 'from=s{2}' => \@from, 'post=s' => \%post, 'restrict=s' => \$restrict, + 'time=s' => \$time, + 'to=s{2}' => \@to, + 'via=s{2}' => \@via, ); unless (@to == 2 and @from == 2) { @@ -180,11 +180,6 @@ Arrival place Travel via this place -=item B<--debug> - -Display debug information (additional post requests sent to the site, -raw items received from the site) - =item B<--time>|B<--depart> I:I Journey start time @@ -212,12 +207,17 @@ method if you're not travelling long distance All trains exctep ICE -=item * ICE +=item * ice All trains =back +=item B<--debug> + +Display debug information (additional post requests sent to the site, +raw items received from the site) + =item B<--post> I=I Add I with I to the HTTP POST request sent to the EFA server. -- cgit v1.2.3