]> git.ipfire.org Git - thirdparty/coreutils.git/commit
ls: --dired now implies long format with hyperlinks disabled
authorSylvestre Ledru <sylvestre@debian.org>
Sun, 17 Sep 2023 13:55:57 +0000 (15:55 +0200)
committerPádraig Brady <P@draigBrady.com>
Sun, 17 Sep 2023 17:47:50 +0000 (18:47 +0100)
commit8367b95a13b96b96db93a7339c094f813af877c9
tree1e90abd7e6bf201ec42e9e2029289f35457fc6b1
parent3564e3a572b64c5384519d735dbbb88690438eae
ls: --dired now implies long format with hyperlinks disabled

Currently --dired is silently ignored
with conflicting output formats

* src/ls.c (decode_switches): Set default format and hyperlink mode
when the --dired option is specified.
* tests/ls/dired.sh: Check that formats are implied / overridden.
* NEWS: Mention the change in behavior.
* doc/coreutils.texi (ls invocation): Adjust --dired description.
NEWS
doc/coreutils.texi
src/ls.c
tests/ls/dired.sh