diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-05 19:13:36 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-05 19:13:36 +0200 |
commit | d47e303f21b44312ad85e429ca89ed5d23f883ad (patch) | |
tree | aeaaf0342fe8e470f33778875b10b3eddbc68b81 | |
parent | 8349779b604d9eeea1fcc312c897ac65a6774960 (diff) |
efa: Fix opt_date
-rwxr-xr-x | bin/efa | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |