From 1b9cd35c2f2718bcd865ed9dc14047302e6038ed Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 11 Sep 2015 20:28:17 +0200 Subject: hafas-m: document new -m / --mot behaviour --- bin/hafas-m | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/bin/hafas-m b/bin/hafas-m index 33a4d9f..ffefecd 100755 --- a/bin/hafas-m +++ b/bin/hafas-m @@ -218,23 +218,15 @@ Do not display delayed trains. =item B<-m>, B<--mot> I -Comma-separated list of modes of transport to show/hide. Accepts the following -arguments: - - ice InterCity Express trains - ic_ec InterCity / EuroCity trains - d InterRegio and similar - nv "Nahverkehr", RegionalExpress and such - s S-Bahn - bus - ferry - u U-Bahn - tram - -You can prefix an argument with "!" to hide it. The default is C<< -ice,ic_ec,d,nv,s >>. Note that B<-m> does not replace the default, so if you -only want to see S-Bahn and U-Bahn departures, you'd have to use C<< -m -!ice,!ic_ec,!d,!nv,u >>. +By default, B shows all modes of transport arriving/departing at the +specified station. With I, it is possible to either exclude a list of +modes, or exclusively show only a select list of modes. + +To exclude modes, set I to BI,BI,... + +To show them exclusively, set I to I,I,... + +The I types depend on the used service. Use C<< -m help >> to list them. =item B<-t>, B<--time> I:I -- cgit v1.2.3