summaryrefslogtreecommitdiff
path: root/bin/db-iris
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-02-02 02:06:22 +0100
committerDaniel Friesel <derf@finalrewind.org>2014-02-02 02:06:44 +0100
commit7bbd09e68aba30218694d580f48f8a1a1d59aa34 (patch)
treeb8b5c066d3867da735fa164255da0457f82ee620 /bin/db-iris
parent88a041b9bc1ca6b9efdc84f5708865cd8216a740 (diff)
add -r to synopsis
Diffstat (limited to 'bin/db-iris')
-rwxr-xr-xbin/db-iris13
1 files changed, 7 insertions, 6 deletions
diff --git a/bin/db-iris b/bin/db-iris
index 0e39231..2ac75e1 100755
--- a/bin/db-iris
+++ b/bin/db-iris
@@ -148,7 +148,7 @@ sub get_station {
sub show_help {
my ($code) = @_;
- print 'Usage: db-iris [-c <classlist>] [-d <date>] '
+ print 'Usage: db-iris [-r] [-c <classlist>] [-d <date>] '
. '[-o <output-flags>] [-p <platforms>] [-t <time>] '
. '[-T <typelist>] [-v|-V <via>] <station>' . "\n"
. "See also: man db-iris\n";
@@ -164,15 +164,16 @@ sub show_version {
sub sanitize_options {
if ( $track_via and $edata{times} ) {
- say STDERR "Note: --track-via cannot be combined with --output=times";
- say STDERR "Disabling option --output=times";
+ say STDERR 'Note: --track-via cannot be combined with --output=times';
+ say STDERR 'Disabling option --output=times';
delete $edata{times};
}
if ( $realtime and $edata{times} ) {
- say STDERR "Note: --realtime cannot be combined with --output=times";
- say STDERR "Disabling option --realtime";
+ say STDERR 'Note: --realtime cannot be combined with --output=times';
+ say STDERR 'Disabling option --realtime';
$realtime = 0;
}
+ return;
}
sub display_result {
@@ -337,7 +338,7 @@ db-iris - Interface to the DeutscheBahn online departure monitor
=head1 SYNOPSIS
-B<db-iris> [B<-c> I<classlist>] [B<-d> I<date>] [B<-o> I<output-flags>]
+B<db-iris> [B<-r>] [B<-c> I<classlist>] [B<-d> I<date>] [B<-o> I<output-flags>]
[B<-p> I<platforms>] [B<-t> I<time>] [B<-T> I<typelist>] [B<-v>|B<-V> I<via>]
I<station>