From b2a21e7ecf670861465ba34956a3c67208fb56ca Mon Sep 17 00:00:00 2001 From: Darin Petkov Date: Thu, 25 Mar 2010 11:33:41 -0700 Subject: [PATCH] Make errors and warnings a bit more obvious. Review URL: http://codereview.chromium.org/1342001 --- common.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common.sh b/common.sh index 13888e37b3..e276215ae0 100644 --- a/common.sh +++ b/common.sh @@ -280,13 +280,15 @@ function check_flags_only_and_allow_null_arg { V_RED="\e[31m" V_YELLOW="\e[33m" +V_BOLD_RED="\e[1;31m" +V_BOLD_YELLOW="\e[1;33m" function warn { - echo -e "${V_YELLOW}Warning..: $1${V_VIDOFF}" + echo -e "${V_BOLD_YELLOW}WARNING: $1${V_VIDOFF}" } function error { - echo -e "${V_RED}Error....: $1${V_VIDOFF}" + echo -e "${V_BOLD_RED}ERROR : $1${V_VIDOFF}" } function die {