summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-07-13 09:39:29 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-07-13 09:39:29 +0200
commitd463bbcd8475dd0261fb28efcc7b4b6d079a27a1 (patch)
tree1a4dfef1cbee74096d0d3cd4d5f74a03df6adefd /bin
parentd3c04239efd0209b6e9444355c4ae4879eba5daa (diff)
Release v0.030.03
Diffstat (limited to 'bin')
-rwxr-xr-xbin/db-ris6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/db-ris b/bin/db-ris
index 234a912..f5633b0 100755
--- a/bin/db-ris
+++ b/bin/db-ris
@@ -3,7 +3,7 @@ use strict;
use warnings;
use 5.010;
-our $VERSION = '0.02';
+our $VERSION = '0.03';
use Getopt::Long qw(:config no_ignore_case);
use List::Util qw(first max);
@@ -43,7 +43,7 @@ for my $type ( split( qr{,}, $types ) ) {
my $status = Travel::Status::DE::DeutscheBahn->new(
date => $date,
mot => \%train_type,
- station => shift,
+ station => shift || show_help(1),
time => $time,
);
@@ -171,7 +171,7 @@ B<db-ris> [B<-d> I<date>] [B<-L>] [B<-m> I<motlist>] [B<-t> I<time>]
=head1 VERSION
-version 0.02
+version 0.03
=head1 DESCRIPTION