summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Rauscher <prauscher@ohai.su>2014-01-15 01:12:02 +0100
committerPatrick Rauscher <prauscher@ohai.su>2014-01-15 01:12:02 +0100
commitd5e7602a22d76b6307fbfa7b2d6615ccbc3be12b (patch)
tree62915b6ad54f927f19583c23309a959c0109c07e
parent094d5ccf7e3a7b74d33a7b0db16f37e68d86590c (diff)
improve documetation (usage and manpage)
-rwxr-xr-xbin/db-iris6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/db-iris b/bin/db-iris
index 8e5909a..2687d5b 100755
--- a/bin/db-iris
+++ b/bin/db-iris
@@ -114,8 +114,7 @@ sub get_station {
sub show_help {
my ($code) = @_;
- print 'Usage: db-iris [-f] '
- . "[-v <via>] <station>\n"
+ print 'Usage: db-iris [-V] [-c <classlist>] [-d <date>] [-o <output-flags>] [-p <platforms>] [-t <time>] [-T <typelist>] [-v <via>] <station>' . "\n" .
. "See also: man db-iris\n";
exit $code;
@@ -249,8 +248,7 @@ db-iris - Interface to the DeutscheBahn online departure monitor
=head1 SYNOPSIS
-B<db-iris> [B<-fV>] [B<-d> I<date>] [B<-t> I<time>] [B<-v> I<station>]
-I<station>
+B<db-iris> [B<-V>] [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> I<via>] I<station>
=head1 VERSION