summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-08-01 02:50:03 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-08-01 02:50:03 +0200
commit1978e599ed69841c2a9056661cb9bca06d50071a (patch)
tree52b96ed76916906d4e1773d9c14ecacab9e1853b /bin
parenta561273b41203f9e0699ce78b48c2c47c5484f16 (diff)
efa-m: document recently added options
Diffstat (limited to 'bin')
-rwxr-xr-xbin/efa-m31
1 files changed, 28 insertions, 3 deletions
diff --git a/bin/efa-m b/bin/efa-m
index faa1d71..473adf8 100755
--- a/bin/efa-m
+++ b/bin/efa-m
@@ -377,11 +377,25 @@ I<type>. Supported types are B<address> and B<poi> (point of interest).
=over
+=item B<-A>, B<--auto-url>, B<--discover-and-print>
+
+Probe all known EFA entry points for the specified stop. Print the first
+result which was not an error.
+
+Note that this may take a while and will not necessarily return the best
+result. Also, using thi option by default is not recommended, as it puts EFA
+services under considerable additional load.
+
=item B<-d>, B<--date> I<dd.mm.yyyy>
Show departures for I<date> instead of today.
May also be specified as I<dd.mm.>
+=item B<-D>, B<--discover>
+
+Probe all known EFA entry points for the specified stop. Print the URLs and
+names of all entry points which did not return an error.
+
=item B<-L>, B<--linelist>
Do not show departures. Instead, list all lines serving the specified place.
@@ -394,6 +408,11 @@ using B<--date> and B<--time> are guaranteed to be included.
Only show departures of I<lines> (comma-separatad list, option may be
repeated)
+=item B<--list>
+
+List supported EFA services wit their URLs (see B<-u>) and abbreviations (see
+B<-s>).
+
=item B<-m>, B<--mot> I<motlist>
Only show departures whose type appears in I<motlist> (comma-separated list,
@@ -452,15 +471,21 @@ Show relative departure times in minutes (i.e. the time difference between
the departure and the time of the request). In this case, realtime data is
already included.
+=item B<-s>, B<--service> I<name>
+
+Short name of the EFA entry point. See Travel::Status::DE::EFA(3pm) and the
+B<-l> option for a list of services.
+
=item B<-t>, B<--time> I<hh:mm>
Show departures starting at I<time> instead of now.
=item B<-u>, B<--efa-url> I<url>
-URL to the EFA entry point, defaults to L<http://efa.vrr.de/vrr/XSLT_DM_REQUEST>.
-Depending on your location, some I<url>s may contain more specific data
-than others. See Travel::Status::DE::EFA(3pm) for alternatives.
+URL to the EFA entry point, defaults to
+L<http://efa.vrr.de/vrr/XSLT_DM_REQUEST>. Depending on your location, some
+I<url>s may contain more specific data than others. See
+Travel::Status::DE::EFA(3pm) and the B<-l> option for alternatives.
=item B<--timeout> I<seconds>