docs/man/samba-tool explain --color
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 15 Sep 2022 00:41:13 +0000 (12:41 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 19 Sep 2022 06:10:36 +0000 (06:10 +0000)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
docs-xml/manpages/samba-tool.8.xml

index 9a40bb1bec4ec2e2381c08001f0c745cc593d6ab..10ffa8a4d5f209b0abd255b0de394429aaae349a 100644 (file)
        </para></listitem>
        </varlistentry>
 
+       <varlistentry>
+       <term>--color=always|never|auto</term>
+       <listitem>
+          <para>
+           Indicate whether samba-tool should use ANSI colour codes
+           in its output. If 'auto' (the default), samba-tool will
+           use colour when its output is directed toward a terminal,
+           unless the NO_COLOR environment variable is set and
+           non-empty.
+         </para>
+          <para>
+            The values 'yes' and 'force' are accepted as synonyms for
+            'always'; 'no' and 'none' for 'never'; and 'tty' and
+            'if-tty' for 'auto'.
+          </para>
+          <para>
+           Note that asking for colour doesn't mean samba-tool will
+           necessarily be very colourful. Many commands are very
+           monochrome, particularly when successful.
+       </para>
+        </listitem>
+       </varlistentry>
+
        &cmdline.common.debug.client;
 
        </variablelist>