ls: support explicit --time=modification selection
commita88b666bea3916b978373f89b5f11f3d5b7157a6
authorPádraig Brady <P@draigBrady.com>
Fri, 12 Aug 2022 13:16:14 +0000 (12 14:16 +0100)
committerPádraig Brady <P@draigBrady.com>
Sat, 13 Aug 2022 12:48:24 +0000 (13 13:48 +0100)
treefb1433c0aa09530eb14ab9e884db5589be678b68
parent35fbc51d3ff0946b677732a1dbd0b715267b1855
ls: support explicit --time=modification selection

* src/ls.c [time_args]: Add support for explicit
'mtime' or 'modification' arguments to --time.
* tests/misc/ls-time.sh: Add explicit --time=mtime usage.
* doc/coreutils.texi (ls invocation): Describe --time=mtime.
* NEWS: Mention the new feature.
NEWS
doc/coreutils.texi
src/ls.c
tests/misc/ls-time.sh