From 28ec28746d8633b9c4b67cd6d1b603a1da57f436 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 19 Apr 2024 16:48:19 +0200 Subject: apt.conf(5): Document the APT::Color scope --- doc/apt.conf.5.xml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'doc/apt.conf.5.xml') diff --git a/doc/apt.conf.5.xml b/doc/apt.conf.5.xml index 2ae569e26..a648d7079 100644 --- a/doc/apt.conf.5.xml +++ b/doc/apt.conf.5.xml @@ -174,6 +174,45 @@ DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";}; + + + This scope defines colors and styles. The basic colors supported are + , + , + , + , + , + , and + . + + + The subscope defines the colors for package lists + in and similar commands. The following options may be set: + , + , + , + , + ; corresponding to their + lists in the &apt; output. + + + Each color may reference one or more other color options by name, relative + to . Their escape sequences will be combined. + + +APT::Color::Bold "\x1B[1m"; +APT::Color::Action::Install "cyan"; +APT::Color::Action::Upgrade "bold action::install"; + + + Colors may be turned on or off completely by setting + to or , by utilizing NO_COLOR + or APT_NO_COLOR environment variables, or using the + , command-line options. + + + + This scope defines which compression formats are supported, how compression -- cgit v1.2.3-70-g09d2