Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(351)

Unified Diff: src/scripts/common.sh

Issue 1342001: Make errors and warnings a bit more obvious. (Closed)
Patch Set: Make the : line up. Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/common.sh
diff --git a/src/scripts/common.sh b/src/scripts/common.sh
index 13888e37b35f46f35c2752d1ad6837028aa9dd2f..e276215ae0aff1dab9992dd6af69193e24cad4c5 100644
--- a/src/scripts/common.sh
+++ b/src/scripts/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 {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698