summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-10-28 05:55:34 +0000
committerJim Meyering <jim@meyering.net>1995-10-28 05:55:34 +0000
commitb43f5fb25b81b45f0a9a24056b5d883f6f4dd8a5 (patch)
treec018f64200444424ac2ce445ca1802f5bf4fc742 /doc
parent013277d331871930d21c48cbea00889401ed99e0 (diff)
downloadcoreutils-b43f5fb25b81b45f0a9a24056b5d883f6f4dd8a5.tar.xz
.
Diffstat (limited to 'doc')
-rw-r--r--doc/sh-utils.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/sh-utils.texi b/doc/sh-utils.texi
index 434c51daa..7d6134b09 100644
--- a/doc/sh-utils.texi
+++ b/doc/sh-utils.texi
@@ -2320,6 +2320,15 @@ current time and date. @var{datestr} can be in almost any common
format. It can contain month names, timezones, @samp{am} and @samp{pm},
@samp{yesterday}, @samp{ago}, @samp{next}, etc. @xref{Date input formats}.
+@item -r @var{file}
+@itemx --reference=@var{file}
+@opindex -r
+@opindex --reference
+Display the time and date as obtained from a reference @var{file},
+instead of the current time and date. Each file has a few timestamps
+associated with it. In this context, the time and date of the last
+modification are used.
+
@item -f @var{datefile}
@itemx --file=@var{datefile}
@opindex -f