From 933edeeae07bce9bef9f44d062e034458d6481ea Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Mon, 16 May 2016 20:56:42 +0200 Subject: [PATCH] Improve screen output when an error in a profile has been found --- include/profiles | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/profiles b/include/profiles index 47fa4770..ceae348f 100644 --- a/include/profiles +++ b/include/profiles @@ -288,8 +288,10 @@ # Catch all bad options and bail out *) LogText "Unknown option ${OPTION} (with value: ${VALUE})" - echo "Fatal error: found errors in profile ${PROFILE}" - echo "Unknown option '${OPTION}' found (with value: ${VALUE})" + ${ECHOCMD} "" + ${ECHOCMD} "${RED}Error${NORMAL}: found one or more errors in profile ${PROFILE}" + ${ECHOCMD} "${WHITE}Details${NORMAL}: Unknown option '${YELLOW}${OPTION}${NORMAL}' found (with value: ${VALUE})" + ${ECHOCMD} "" ExitFatal ;;