From 56784ca1c017e414c57f212058fd5b5ac124757d Mon Sep 17 00:00:00 2001 From: Roland Clobus Date: Wed, 29 May 2019 13:15:46 +0200 Subject: Reenabled the command line option for colored messages for all scripts. The functionality was added 2008-11-01, but was not really active. --- functions/arguments.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/functions/arguments.sh b/functions/arguments.sh index eede5c5ce..28e727afb 100755 --- a/functions/arguments.sh +++ b/functions/arguments.sh @@ -10,7 +10,7 @@ Arguments () { - ARGUMENTS="$(getopt --longoptions breakpoints,conffile:,debug,force,help,quiet,usage,verbose,version --name=${PROGRAM} --options c:huv --shell sh -- "${@}")" + ARGUMENTS="$(getopt --longoptions breakpoints,color,conffile:,debug,force,help,quiet,usage,verbose,version --name=${PROGRAM} --options c:huv --shell sh -- "${@}")" if [ "${?}" != "0" ] then @@ -28,6 +28,11 @@ Arguments () shift ;; + --color) + _COLOR="true" + shift + ;; + -c|--conffile) _CONFFILE="${2}" shift 2 -- cgit v1.2.3