doc: ls: reference dircolors(1) from --help

* src/ls.c (usage): s/dircolors/dircolors(1)/.
* man/ls.x [SEE ALSO]: Reference dircolors(1).
Addresses https://bugs.gnu.org/53946
This commit is contained in:
Pádraig Brady 2022-02-12 18:03:38 +00:00
parent 353ba4978f
commit dc689eba57
2 changed files with 3 additions and 1 deletions

View File

@ -2,3 +2,5 @@
ls \- list directory contents
[DESCRIPTION]
.\" Add any additional description here
[SEE ALSO]
dircolors(1)

View File

@ -5609,7 +5609,7 @@ The WHEN argument defaults to 'always' and can also be 'auto' or 'never'.\n\
Using color to distinguish file types is disabled both by default and\n\
with --color=never. With --color=auto, ls emits color codes only when\n\
standard output is connected to a terminal. The LS_COLORS environment\n\
variable can change the settings. Use the dircolors command to set it.\n\
variable can change the settings. Use the dircolors(1) command to set it.\n\
"), stdout);
fputs (_("\
\n\