diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-04-30 21:36:35 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-04-30 21:36:35 +0200 |
commit | 6dc39e621f03d27fc790fc600b0c35181e9a6f8c (patch) | |
tree | fcff4afec9dfa96c936a748d39a9a0c059d1d084 | |
parent | f2f277f2de17d38c644a6af140c49f00debb793b (diff) |
The colours are customizable, so add them to pkg.conf(5)
-rw-r--r-- | man/5/pkg.conf | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/man/5/pkg.conf b/man/5/pkg.conf index 31483aa..6dd19b0 100644 --- a/man/5/pkg.conf +++ b/man/5/pkg.conf @@ -76,6 +76,23 @@ Example: function pkg_hook_post-update {clear_line; echo "Hello from package $1! =back +=head2 COLOURS + +Colours are defined in the same way as options. They take an ANSI escape code +as argument. + +=over + +=item B<c_info>=I<colour> ($'\e[0;36m') + +Colour for informational messages (default: cyan) + +=item B<c_error>=I<colour> ($'\e[0;31m') + +Colour for warning and error messages (default: red) + +=back + =head1 SEE ALSO L<pkg>(1), L<checklinks>(1) |