diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-05-12 15:27:40 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-05-12 15:27:40 +0200 |
commit | 452673f56cd48840f453c6a67c9592aff46c91a2 (patch) | |
tree | 26fc75cbb80f52c69abe7c4fbe3fed46cade3add | |
parent | 5e98acb5ba47129fe3d9edcf1b400c3cdacc0838 (diff) |
efa: Correct --date help message
-rwxr-xr-x | bin/efa | 2 | ||||
-rw-r--r-- | test/50-efa.t | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -292,7 +292,7 @@ if ($time) { } if ($date) { if ($date !~ /^ [0-3]? \d \. [01]? \d \. (?: \d{4} )? $/x) { - die("Invalid argument: Usage: --date DD.MM[.YYYY]\n"); + die("Invalid argument: Usage: --date DD.MM.[YYYY]\n"); } @post{'itdDateDay', 'itdDateMonth', 'itdDateYear'} = split(/\./, $date); $post{itdDateYear} //= (localtime(time))[5] + 1900; diff --git a/test/50-efa.t b/test/50-efa.t index a47f9a0..fa38572 100644 --- a/test/50-efa.t +++ b/test/50-efa.t @@ -15,7 +15,7 @@ my $err_exclude = "Invalid argument. See manpage for --exclude usage\n"; my $err_prefer = "Invalid argument. Usage: --prefer speed|nowait|nowalk\n"; my $err_include = "Invalid argument. Usage: --include local|ic|ice\n"; my $err_time = "Invalid argument. Usage: --time HH:MM\n"; -my $err_date = "Invalid argument: Usage: --date DD.MM[.YYYY]\n"; +my $err_date = "Invalid argument: Usage: --date DD.MM.[YYYY]\n"; my $err_walk_speed = "Invalid argument. Uaseg: --walk-speed normal|fast|slow\n"; |