diff options
author | Pádraig Brady <P@draigBrady.com> | 2022-08-12 13:40:00 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2022-08-12 14:21:12 +0100 |
commit | 35fbc51d3ff0946b677732a1dbd0b715267b1855 (patch) | |
tree | 2b3a204f04b0a2b0db1725ccca15cbc720c28301 /doc | |
parent | c7920f2b1b12703aad4df360a783b30f117df358 (diff) | |
download | coreutils-35fbc51d3ff0946b677732a1dbd0b715267b1855.tar.gz |
doc: ls: clarify description of timestamps
* src/ls.c (usage): Don't mention "modification" in the
description of ctime (-c), as it's confusing with mtime.
Mention "metadata" when discussing "change" time to
disambiguate from data change time.
* doc/coreutils.texi (ls invocation): State that --time=creation
falls back to using mtime where not available.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/coreutils.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 71ccc64ed..35f90d417 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -8031,7 +8031,8 @@ sort according to the atime. @opindex --time @opindex birth time@r{, printing or sorting files by} @opindex creation timestamp@r{, printing or sorting files by} -In long format, print the file creation timestamp if available. +In long format, print the file creation timestamp if available, +falling back to the file modification timestamp (mtime) if not. When sorting by time or when not using long format, sort according to the birth time. @xref{File timestamps}. |