summaryrefslogtreecommitdiff
path: root/bin/efa
diff options
context:
space:
mode:
Diffstat (limited to 'bin/efa')
-rwxr-xr-xbin/efa7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/efa b/bin/efa
index d3233c7..dcd2b41 100755
--- a/bin/efa
+++ b/bin/efa
@@ -155,6 +155,7 @@ GetOptions(
help|h
ignore-info|I:s
max-change|m=i
+ num-connections|n=i
prefer|P=s
proximity|p
include|i=s
@@ -220,6 +221,7 @@ $efa = eval {
use_near_stops => $opt->{proximity},
walk_speed => $opt->{'walk-speed'},
max_interchanges => $opt->{'max-change'},
+ num_results => $opt->{'num-connections'},
lwp_options => { timeout => $opt->{timeout} },
);
@@ -330,6 +332,11 @@ Display duration, ticket class and price for each route (if available)
Print connections with at most I<number> interchanges
+=item B<-n>|B<--num-connections> I<number>
+
+Return up to I<number> connections. If unset, the default of the respective
+EFA server is used (usually 4 or 5).
+
=item B<-P>|B<--prefer> I<type>
Prefer connections of I<type>: