summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2024-04-19 16:18:57 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2024-04-19 17:06:45 +0200
commitbe5289525a2a037881eaac48fbab26f864f72cd5 (patch)
tree1ceeea33e787e65d8177f3aee645521d586fc848 /doc
parentdc779ff0a33d9da8bc55390ee55ad73d31739e46 (diff)
Add a --color, --no-color option
Wrap empty else in {} to avoid readability issues
Diffstat (limited to 'doc')
-rw-r--r--doc/apt.ent10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/apt.ent b/doc/apt.ent
index a6abb0e0a..386abd493 100644
--- a/doc/apt.ent
+++ b/doc/apt.ent
@@ -70,6 +70,16 @@
</para>
</listitem>
</varlistentry>
+
+ <varlistentry>
+ <term><option>--no-color</option></term>
+ <term><option>--color</option></term>
+<listitem><para>Turn colors on or off. Colors are on by default on supported terminals for &apt; and
+can also be disabled using the <envar>NO_COLOR</envar> or <envar>APT_NO_COLOR</envar> environment variables,
+or further configured by the <option>APT::Color</option> configuration option and scope, see &apt-conf; for information on that.
+ </para>
+ </listitem>
+ </varlistentry>
">
<!-- Should be used within the option section of the text to