summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/5/pkg.conf17
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)