diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-03-16 18:51:32 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-03-16 18:51:32 +0100 |
commit | b0ecd4e9f73aa7d10b5dc53af9187b5cafb3b31c (patch) | |
tree | b60087f0c4a2777d759b9ccdb9c164a4992108fd /bin | |
parent | d0fe7368f9393870c151f0b8126a67cbd4fe8bcf (diff) |
efa: Added --post to add any values to the HTTP POST request
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/efa | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -38,6 +38,7 @@ GetOptions( 'date=s' => \$date, 'debug' => \$debug, 'time-for=s' => \$time_for, + 'post=s' => \%post, ); unless (@to == 2 and @from == 2) { @@ -172,4 +173,12 @@ Define whether the time means time of departure (default) or time of arrival Journey date +=item B<--post> I<key>=I<value> + +Add I<key> with I<value> to the HTTP POST request sent to the EFA server. +This can be used to use setting B<efa> does not yet cover, like +C<--post lineRestriction=400> to also show IC and ICE trains. +Note that B<--post> will be overridden by the standard efa options, such as +B<--time>. + =back |