commit: 50fd0e9ae91c7d953278eaba90716e7f5fa4ebb4 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Wed Feb 13 20:43:08 2019 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Wed Feb 13 20:43:08 2019 +0000 URL: https://gitweb.gentoo.org/proj/eselect.git/commit/?id=50fd0e9a
Output warning messages in yellow. * libs/output.bash.in (colours): Display warning messages in yellow, in order to distinguish from errors which are red. Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> ChangeLog | 5 +++++ libs/output.bash.in | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 84673d3..446cd31 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2019-02-13 Ulrich Mueller <u...@gentoo.org> + + * libs/output.bash.in (colours): Display warning messages in + yellow, in order to distinguish from errors which are red. + 2018-12-22 Ulrich Mueller <u...@gentoo.org> * modules/profile.eselect (set_symlink): Warn about deprecated diff --git a/libs/output.bash.in b/libs/output.bash.in index 2d32bc6..2f6fc02 100644 --- a/libs/output.bash.in +++ b/libs/output.bash.in @@ -20,8 +20,8 @@ colours() { COLOUR_NORMAL=$(tput sgr0) COLOUR_BOLD=$(tput bold) COLOUR_HI=$(tput setaf 4)${COLOUR_BOLD} # blue - COLOUR_WARN=$(tput setaf 1)${COLOUR_BOLD} # red - COLOUR_ERROR=${COLOUR_WARN} + COLOUR_WARN=$(tput setaf 3)${COLOUR_BOLD} # yellow + COLOUR_ERROR=$(tput setaf 1)${COLOUR_BOLD} # red COLOUR_LIST_HEADER=$(tput setaf 2)${COLOUR_BOLD} # green COLOUR_LIST_LEFT=${COLOUR_BOLD} COLOUR_LIST_RIGHT=${COLOUR_NORMAL}