]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: ls: reference dircolors(1) from --help
authorPádraig Brady <P@draigBrady.com>
Sat, 12 Feb 2022 18:03:38 +0000 (18:03 +0000)
committerPádraig Brady <P@draigBrady.com>
Sat, 12 Feb 2022 18:03:38 +0000 (18:03 +0000)
* src/ls.c (usage): s/dircolors/dircolors(1)/.
* man/ls.x [SEE ALSO]: Reference dircolors(1).
Addresses https://bugs.gnu.org/53946

man/ls.x
src/ls.c

index 4b7e3f46dc583939ef52371eb2f29f11a21a2271..83dd4969e74dcee03d874398c1e96f27d72245bb 100644 (file)
--- a/man/ls.x
+++ b/man/ls.x
@@ -2,3 +2,5 @@
 ls \- list directory contents
 [DESCRIPTION]
 .\" Add any additional description here
+[SEE ALSO]
+dircolors(1)
index e1d1b85e2b9a3c43454a044f7eb17ad8f7406fca..53f80076b55e42efddd4fc28ea387052c91e4865 100644 (file)
--- a/src/ls.c
+++ b/src/ls.c
@@ -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\