From 90404d949be047808eb389805a8a586a1a1971b0 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 27 Jun 2011 23:41:48 +0200 Subject: Documentation fixups --- bin/db-ris | 10 +++++----- lib/Travel/Status/DE/DeutscheBahn.pm | 16 ++++++++-------- lib/Travel/Status/DE/DeutscheBahn/Result.pm | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/bin/db-ris b/bin/db-ris index debbe0e..c2ccfc0 100755 --- a/bin/db-ris +++ b/bin/db-ris @@ -162,7 +162,7 @@ available at L. It requests all departures at I (optionally filtered by date, time, route and means of transport) and lists them on stdout, similar to the big -departure screens installed on most main stations. +departure screens installed at most main stations. =head1 OPTIONS @@ -174,7 +174,7 @@ Date to list departures for. Default: today =item B<-m>, B<--mot> I -Comma-separated list of modes of transport to show/hide. Accepts the following +Comma-separated list of modes of transport to show/hide. Accepts the following argements: ice InterCity Express trains @@ -187,14 +187,14 @@ argements: 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 +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 und U-Bahn departures, you'd have to use C<< -m !ice,!ic_ec,!d,!nv,u >>. =item B<-t>, B<--time> I:I -Time to list departures for. Default: now. +Time to list departures for. Default: now. =item B<-v>, B<--via> I diff --git a/lib/Travel/Status/DE/DeutscheBahn.pm b/lib/Travel/Status/DE/DeutscheBahn.pm index 673f149..1e28bc6 100644 --- a/lib/Travel/Status/DE/DeutscheBahn.pm +++ b/lib/Travel/Status/DE/DeutscheBahn.pm @@ -202,30 +202,30 @@ unspecified). =item my $status = Travel::Status::DE::DeutscheBahn->new(I<%opts>) -Returns a new Travel::Status::DE::DeutscheBahn element. Supported I are: +Returns a new Travel::Status::DE::DeutscheBahn element. Supported I are: =over =item B => I -The train station to report for, e.g. "Essen HBf". Mandatory. +The train station to report for, e.g. "Essen HBf". Mandatory. =item B => I
.I.I -Date to report for. Defaults to the current day. +Date to report for. Defaults to the current day. =item B