summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/coreutils.texi3
-rw-r--r--src/ls.c4
2 files changed, 4 insertions, 3 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}.
diff --git a/src/ls.c b/src/ls.c
index d48892be7..cce1c6cb1 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -5423,7 +5423,7 @@ Sort entries alphabetically if none of -cftuvSUX nor --sort is specified.\n\
"), stdout);
fputs (_("\
-c with -lt: sort by, and show, ctime (time of last\n\
- modification of file status information);\n\
+ change of file status information);\n\
with -l: show ctime and sort by name;\n\
otherwise: sort by ctime, newest first\n\
\n\
@@ -5557,7 +5557,7 @@ Sort entries alphabetically if none of -cftuvSUX nor --sort is specified.\n\
fputs (_("\
--time=WORD change the default of using modification times;\n\
access time (-u): atime, access, use;\n\
- change time (-c): ctime, status;\n\
+ metadata change time (-c): ctime, status;\n\
birth time: birth, creation;\n\
with -l, WORD determines which time to show;\n\
with --sort=time, sort by WORD (newest first)\n\