[pacman-dev] [PATCH 15/15] update documentation and config files

Simon Gomizelj simongmzlj at gmail.com
Wed Mar 6 12:51:56 EST 2013


Signed-off-by: Simon Gomizelj <simongmzlj at gmail.com>
---
 doc/pacman.8.txt      | 5 +++++
 doc/pacman.conf.5.txt | 3 +++
 etc/pacman.conf.in    | 1 +
 3 files changed, 9 insertions(+)

diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt
index 33a9421..d1c7d20 100644
--- a/doc/pacman.8.txt
+++ b/doc/pacman.8.txt
@@ -146,6 +146,11 @@ Options
 	and they are tried in the order they are passed to pacman. *NOTE*: this
 	is an absolute path, the root path is not automatically prepended.
 
+*\--color* <when>::
+	Specify when to enable coloring, can be 'always', 'never' or 'auto'.  Always
+	forces colours on, never forces colours off, and auto only automatically enables
+	colours when outputting onto a tty.
+
 *\--config* <file>::
 	Specify an alternate configuration file.
 
diff --git a/doc/pacman.conf.5.txt b/doc/pacman.conf.5.txt
index aa28012..58d68f3 100644
--- a/doc/pacman.conf.5.txt
+++ b/doc/pacman.conf.5.txt
@@ -167,6 +167,9 @@ Options
 	Log action messages through syslog(). This will insert log entries into
 	+{localstatedir}/log/messages+ or equivalent.
 
+*Color*::
+	Automatically enable colors only when pacman's output is on a tty.
+
 *UseDelta* [= ratio]::
 	Download delta files instead of complete packages if possible. Requires
 	the `xdelta3` program to be installed. If a ratio is specified (e.g.,
diff --git a/etc/pacman.conf.in b/etc/pacman.conf.in
index 4c72724..f610fa8 100644
--- a/etc/pacman.conf.in
+++ b/etc/pacman.conf.in
@@ -30,6 +30,7 @@ Architecture = auto
 
 # Misc options
 #UseSyslog
+#Color
 #TotalDownload
 CheckSpace
 #VerbosePkgLists
-- 
1.8.1.5



More information about the pacman-dev mailing list