summaryrefslogtreecommitdiff
path: root/bin/efa
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-06-05 19:13:36 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-06-05 19:13:36 +0200
commitd47e303f21b44312ad85e429ca89ed5d23f883ad (patch)
treeaeaaf0342fe8e470f33778875b10b3eddbc68b81 /bin/efa
parent8349779b604d9eeea1fcc312c897ac65a6774960 (diff)
efa: Fix opt_date
Diffstat (limited to 'bin/efa')
-rwxr-xr-xbin/efa2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/efa b/bin/efa
index bb806f5..a94bbf2 100755
--- a/bin/efa
+++ b/bin/efa
@@ -97,7 +97,7 @@ sub opt_time {
}
sub opt_date {
- my ($date) = @_;
+ my (undef, $date) = @_;
if ($date !~ /^ [0-3]? \d \. [01]? \d \. (?: \d{4} )? $/x) {
die("Invalid argument: Usage: --date DD.MM.[YYYY]\n");