summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-03-06 20:54:36 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-03-06 20:54:36 +0100
commit8f0760b80e64a039c8219eac481c1382ef80ef00 (patch)
tree91e67aff8be3a5ad02c2fda05d05a0c08d84a0f1
parent7e2e33ebf89d0fb22681b7d22a0c5e3251368358 (diff)
Added documentation
-rwxr-xr-xbin/efa42
1 files changed, 42 insertions, 0 deletions
diff --git a/bin/efa b/bin/efa
index d39beeb..d7db6e7 100755
--- a/bin/efa
+++ b/bin/efa
@@ -118,3 +118,45 @@ foreach (@$cons) {
}
print "------\n\n";
}
+
+__END__
+
+=head1 NAME
+
+efa - unofficial efa.vrr.de command line cleant
+
+=head1 SYNOPSIS
+
+B<efa> B<--from> I<city> I<stop> B<--to> I<city> I<stop> [ I<additional options> ]
+
+=head1 DESCRIPTION
+
+B<efa> is a command line client for the L<http://efa.vrr.de> web interface.
+It sends the specified information to the online form and displays the results
+
+=head1 OPTIONS
+
+=over
+
+=item B<--from> I<city> I<stop> (mandatory)
+
+Departure place
+
+=item B<--to> I<city> I<stop> (mandatory)
+
+Arrival place
+
+=item B<--debug>
+
+Display debug information (additional post requests sent to the site,
+raw items received from the site)
+
+=item B<--time> I<hh>:I<mm>
+
+Journey start time
+
+=item B<--date> I<dd>.I<mm>.I<yyyy>
+
+Journey date
+
+=back