summaryrefslogtreecommitdiff
path: root/bin/hafas-m
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-09-11 20:28:17 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-09-11 20:28:17 +0200
commit1b9cd35c2f2718bcd865ed9dc14047302e6038ed (patch)
tree980d48c0f28ad47b8f20e9b7d57ba95d733f79a2 /bin/hafas-m
parentae8462fc983013bf27358a0d4a17cca73b8cb1e7 (diff)
hafas-m: document new -m / --mot behaviour
Diffstat (limited to 'bin/hafas-m')
-rwxr-xr-xbin/hafas-m26
1 files 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<motlist>
-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<hafas-m> shows all modes of transport arriving/departing at the
+specified station. With I<motlist>, it is possible to either exclude a list of
+modes, or exclusively show only a select list of modes.
+
+To exclude modes, set I<motlist> to B<!>I<mot1>,B<!>I<mot2>,...
+
+To show them exclusively, set I<motlist> to I<mot1>,I<mot2>,...
+
+The I<mot> types depend on the used service. Use C<< -m help >> to list them.
=item B<-t>, B<--time> I<hh>:I<mm>