[Bug 276556] add CLICOLOR to --color=auto description in ls(1)

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 23 Jan 2024 15:18:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276556

            Bug ID: 276556
           Summary: add CLICOLOR to --color=auto description in ls(1)
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Manual Pages
          Assignee: bugs@FreeBSD.org
          Reporter: bsdcode@disroot.org
                CC: doc@FreeBSD.org

Created attachment 247891
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247891&action=edit
add CLICOLOR to description

Manpage ls(1) lists CLICOLOR in option -G:

-G      Enable colorized output.  This option is equivalent to defining
        CLICOLOR or COLORTERM in the environment and setting
        --color=auto.  (See below.)  This functionality can be compiled
        out by removing the definition of COLORLS.  This option is not
        defined in IEEE Std 1003.1-2008 (“POSIX.1”).

But CLICOLOR is missing in --color=auto description:

        auto will make ls output escape sequences based on termcap(5),
        but only if stdout is a tty and either the -G flag is specified
        or the COLORTERM environment variable is set and not empty.

Patch adds CLICOLOR to description.

-- 
You are receiving this mail because:
You are on the CC list for the bug.