From: Pádraig Brady Date: Sat, 12 Feb 2022 18:03:38 +0000 (+0000) Subject: doc: ls: reference dircolors(1) from --help X-Git-Tag: v9.1~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc689eba5710d9f607cb5f2bc2bfe944bb9042a0;p=thirdparty%2Fcoreutils.git 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 --- diff --git a/man/ls.x b/man/ls.x index 4b7e3f46dc..83dd4969e7 100644 --- 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) diff --git a/src/ls.c b/src/ls.c index e1d1b85e2b..53f80076b5 100644 --- 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\