From: Jim Meyering Date: Tue, 22 Sep 2009 18:53:35 +0000 (+0200) Subject: doc: ls: further improve --help message re --color X-Git-Tag: v8.0~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38f1c2006eb975f28567a7495faac07e7c44de02;p=thirdparty%2Fcoreutils.git doc: ls: further improve --help message re --color * src/ls.c (usage): Correct grammar, change voice, shorten. Inspired by a report from Bruno Schulenberg. --- diff --git a/src/ls.c b/src/ls.c index 859d7c4207..28fc3e5a8a 100644 --- a/src/ls.c +++ b/src/ls.c @@ -4671,9 +4671,9 @@ Mandatory arguments to long options are mandatory for short options too.\n\ emit_size_note (); fputs (_("\ \n\ -Using color to distinguish types of files is not enabled by default, or when\n\ ---color=never is specified. With --color=auto, color codes are output only\n\ -when standard output is connected to a terminal. The LS_COLORS environment\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\ "), stdout); fputs (_("\