summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/log.c
diff options
context:
space:
mode:
authorSimon Gomizelj <simongmzlj@gmail.com>2013-03-01 14:27:40 -0500
committerAllan McRae <allan@archlinux.org>2013-03-07 15:55:04 +1000
commitc8c7a5137473770eb4b2d9d54495c2a39b32cbe3 (patch)
tree4582021cba970256c6fa4efeb0fe9e557e8a89ae /lib/libalpm/log.c
parentea42d03ea153a17edc792844c572f0d3d0803bd6 (diff)
downloadpacman-c8c7a5137473770eb4b2d9d54495c2a39b32cbe3.tar.xz
add a config settings and flag for colours
Colours can be enabled in two ways: - Add Color to pacman.conf. This enables colours automatically. - Use --color=WHEN where WHEN is none/auto/always. WHEN as 'never' disables colours (overrides config file), as 'auto' enables colours when stdout is a tty, and 'always' enables colours no matter what. Signed-off-by: Simon Gomizelj <simongmzlj@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/log.c')
0 files changed, 0 insertions, 0 deletions