Commit d5e7602a authored by Patrick Rauscher's avatar Patrick Rauscher
Browse files

improve documetation (usage and manpage)

parent 094d5ccf
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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