From 36e0bbfccef85827b95d34722d40a132584b6533 Mon Sep 17 00:00:00 2001
From: Daniel Friesel <derf@finalrewind.org>
Date: Wed, 8 Oct 2014 12:46:47 +0200
Subject: [PATCH] efa(1): spellcheck

---
 Build.PL |  1 +
 bin/efa  | 16 +++++++---------
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/Build.PL b/Build.PL
index 5400aac..e48e5d6 100644
--- a/Build.PL
+++ b/Build.PL
@@ -23,6 +23,7 @@ Module::Build->new(
 		'Class::Accessor' => 0,
 		'Exception::Class' => 0,
 		'Getopt::Long' => 0,
+		'List::Util' => 0,
 		'LWP::UserAgent' => 0,
 		'XML::LibXML' => 0,
 	},
diff --git a/bin/efa b/bin/efa
index 7da8aa1..f7c98d4 100755
--- a/bin/efa
+++ b/bin/efa
@@ -83,7 +83,7 @@ sub handle_efa_exception {
 		exit 5;
 	}
 
-	printf STDERR ( "Uncatched exception: %s\n%s", ref($e), $e->trace );
+	printf STDERR ( "Uncaught exception: %s\n%s", ref($e), $e->trace );
 	exit 10;
 }
 
@@ -377,10 +377,10 @@ version 2.07
 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.
 
-It also supports other EFA services than L<http://efa.vrr.de>.
-B<efa> has a builtin list of EFA entry points which can be used with the
-B<-A> and B<-D> options. You can also specify a custom service using B<-u> I<url>
-or B<-s> I<name>.
+It also supports other EFA services than L<http://efa.vrr.de>.  B<efa> has a
+builtin list of EFA entry points which can be probed with the B<-A> and B<-D>
+options and listed with B<-l>. You can also specify a custom service using
+B<-u> I<url> or B<-s> I<name>.
 However, the default EFA service is sufficient in most cases (even ICE
 connections all over Germany).
 
@@ -412,7 +412,7 @@ Journey end time (overrides --time/--depart)
 Probe all known EFA entry points for the specified connection. Print the first
 result which was not an error.
 
-Note that this may take a while and will not neccessarily return the best
+Note that this may take a while and will not necessarily return the best
 result.  Also, using this option by default is not recommended, as it puts
 EFA services under considerable additional load.
 
@@ -468,7 +468,7 @@ Include connections using trains of type I<type>, where I<type> may be:
 =item * local (default)
 
 only take local trains ("Verbund-/Nahverkehrslinien"). Slow, but the cheapest
-method if you're not travelling long distance
+method if you're not traveling long distance
 
 =item * ic
 
@@ -611,8 +611,6 @@ each other it may or may not work.  Workaround: Request from -> via using the
 normal four-argument efa invocation, read the time, use efa -t time via via to
 to to request via -> to.
 
-None known.
-
 =head1 AUTHOR
 
 Copyright (C) 2009-2014 by Daniel Friesel E<lt>derf@finalrewind.orgE<gt>
-- 
GitLab