diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-10-31 12:58:05 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-10-31 12:58:05 -0400 |
commit | c5a0deb4fbca8d95a63374e2b2ef1ac0f87520c1 (patch) | |
tree | 70b195a557e9424215ddb60770db84aeb9852dd4 | |
parent | 52e35719dc334da747c543f0da8f2fd0e537b2c6 (diff) | |
download | moreutils-c5a0deb4fbca8d95a63374e2b2ef1ac0f87520c1.tar.gz |
document -m
-rwxr-xr-x | ts | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -33,6 +33,8 @@ case of -s, the time elapsed since start of the program is used. The default format changes to "%H:%M:%S", and "%.S" and "%.s" can be used as well. +The -m switch makes the system's monotonic clock be used. + =head1 ENVIRONMENT The standard TZ environment variable controls what time zone dates @@ -58,7 +60,12 @@ my $inc=0; my $sincestart=0; my $mono=0; use Getopt::Long; -GetOptions("r" => \$rel, "i" => \$inc, "s" => \$sincestart, "m" => \$mono) || die "usage: ts [-r] [-i | -s] [format]\n"; +GetOptions( + "r" => \$rel, + "i" => \$inc, + "s" => \$sincestart, + "m" => \$mono +) || die "usage: ts [-r] [-i | -s] [-m] [format]\n"; if ($rel) { eval q{ |