Skip to content
Snippets Groups Projects
Commit 519d2bbf authored by Daniel Friesel's avatar Daniel Friesel
Browse files

documentation

parent 44a46715
No related branches found
No related tags found
No related merge requests found
......@@ -613,6 +613,15 @@ or I<dd>.I<mm>.I<YYYY> format, or C<< tomorrow >>. Note that typically only
slight (a few hours max) deviations from the current time are supported by the
IRIS backend, larger ones will not return data.
=item B<--json>
List departures as JSON. Outputs a JSON list containing one hash for each
departure. The B<--output> option has no effect when using B<--json>.
Note that JSON output is NOT compatible between releases. Its structure is not
part of the db-iris / Travel::Status::DE::IRIS versioning scheme; it may change
in backwards-incompatible ways anytime.
=item B<-l>, B<--lookahead> I<int>
Do not return results which are more than I<int> minutes in the future.
......@@ -623,6 +632,14 @@ with a departure in less than I<int> minutes. This guarantee holds only for
I<int> below 120. However, any non-negative number is accepted for this
option.
=item B<--no-cache>
If the Cache::File module is available, server replies are cached in
F<~/.cache/db-iris-schedule> and F<~/.cache/db-iris-realtime> (or paths
relative to C<$XDG_CACHE_HOME>, if set). Use this option to disable caching
altogether. Note that this will significantly decrease db-iris responsiveness,
especially on mobile networks such as WifiOnICE.
=item B<-o>, B<--output> I<outputtypes>
For each result, output I<outputtypes> in addition to the normal time, delay,
......@@ -795,6 +812,14 @@ None.
=back
=head1 RECOMMENDS
=over
=item * Cache::File(3pm)
=back
=head1 BUGS AND LIMITATIONS
There are no known bugs at the moment.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment