summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-09-08 17:45:05 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-09-08 17:45:05 +0200
commit426806be46efedc8f252c1830cf0c02d79c14304 (patch)
tree06a54b98c08b0ae4e01d31fe0dfe799a133a9af6
parent77380123923c266739675723182e718ee1ef3b7c (diff)
Begin work on documentation
-rw-r--r--Build.PL3
-rw-r--r--README4
-rwxr-xr-xbin/efa-m18
3 files changed, 24 insertions, 1 deletions
diff --git a/Build.PL b/Build.PL
index 094b2d3..05433cb 100644
--- a/Build.PL
+++ b/Build.PL
@@ -14,7 +14,10 @@ Module::Build->new(
license => 'unrestricted',
requires => {
'perl' => '5.10.1',
+ 'Class::Accessor' => 0,
'Getopt::Long' => 0,
+ 'List::Utel' => 0,
+ 'WWW::Mechanize' => 0,
'XML::LibXML' => 0,
},
sign => 1,
diff --git a/README b/README
index f4b1577..7aaf317 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-Travel::Status::DE::VRR - ??
+Travel::Status::DE::VRR - VRR departure monitor
-----------------------------------------------
* <http://finalrewind.org/projects/Travel-Status-DE-VRR/>
@@ -8,6 +8,8 @@ Dependencies
------------
* perl version 5.10.1 or newer
+ * Class::Accessor
+ * WWW::Mechanize
* XML::LibXML
diff --git a/bin/efa-m b/bin/efa-m
index f031e81..ab9035c 100755
--- a/bin/efa-m
+++ b/bin/efa-m
@@ -92,18 +92,32 @@ __END__
=head1 NAME
+efa-m - Inofficcial interface to the efa.vrr.de departure monitor
+
=head1 SYNOPSIS
+B<efa-m> [B<-d> I<date>] [B<-t> I<time>] I<city> I<stop>
+
=head1 VERSION
version 0.00
=head1 DESCRIPTION
+B<efa-m> lists upcoming tram, bus and train departures at I<stop> in I<city>
+
=head1 OPTIONS
=over
+=item B<-d>, B<--date> I<dd.mm.yyyy>
+
+Show departures for I<date> instead of today
+
+=item B<-t>, B<--time> I<hh:mm>
+
+Show departures starting at I<time> instead of now
+
=item B<-V>, B<--version>
Show version information.
@@ -112,6 +126,8 @@ Show version information.
=head1 EXIT STATUS
+Zero.
+
=head1 CONFIGURATION
None.
@@ -130,6 +146,8 @@ None.
=head1 BUGS AND LIMITATIONS
+Unknown.
+
=head1 AUTHOR
Copyright (C) 2011 by Daniel Friesel E<lt>derf@finalrewind.orgE<gt>