Allow missing option.

This commit is contained in:
hjp 2003-08-26 17:46:33 +00:00
parent 8327e6a6f4
commit 590f489d1f
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ use strict;
use POSIX; use POSIX;
use Time::HiRes qw(gettimeofday); use Time::HiRes qw(gettimeofday);
my $use_microseconds; my $use_microseconds;
if ($ARGV[0] eq '-u') { if (($ARGV[0] || "") eq '-u') {
$use_microseconds = 1; $use_microseconds = 1;
shift; shift;
} }