diff --git a/scripts/timestamp.pl b/scripts/timestamp.pl
index 6bfa3ea1f0c7c8f15a74a60bfaef24c6ee0bc387..90d1fa799ae5e4e5dd423ab0c3ab8c4f230aee93 100755
--- a/scripts/timestamp.pl
+++ b/scripts/timestamp.pl
@@ -47,7 +47,7 @@ while (@ARGV > 0) {
 	} else {
 		my ($tmp, $fname) = get_ts($path, $options{"findopts"});
 		if ($tmp > $ts) {
-			if ($options{'-f'}) {
+			if ($options{'-F'}) {
 				$n = $fname;
 			} else {
 				$n = $path;