summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/efa-m4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/efa-m b/bin/efa-m
index 8c2f982..a6b8bec 100755
--- a/bin/efa-m
+++ b/bin/efa-m
@@ -5,6 +5,8 @@ use 5.010;
our $VERSION = '0.02';
+binmode( STDOUT, ':encoding(utf-8)' );
+
use Getopt::Long qw(:config no_ignore_case);
use List::Util qw(max);
use Travel::Status::DE::VRR;
@@ -13,8 +15,6 @@ my ( $date, $time, $input_type );
my ( @grep_lines, @grep_platforms );
my @output;
-binmode( STDOUT, ':encoding(utf-8)' );
-
GetOptions(
'd|date=s' => \$date,
'h|help' => sub { show_help(0) },