Reenabled the command line option for colored messages for all scripts. The functionality was added 2008-11-01, but was not really active.
This commit is contained in:
parent
c4abbbcc7e
commit
56784ca1c0
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
Arguments ()
|
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" ]
|
if [ "${?}" != "0" ]
|
||||||
then
|
then
|
||||||
|
@ -28,6 +28,11 @@ Arguments ()
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
--color)
|
||||||
|
_COLOR="true"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
|
||||||
-c|--conffile)
|
-c|--conffile)
|
||||||
_CONFFILE="${2}"
|
_CONFFILE="${2}"
|
||||||
shift 2
|
shift 2
|
||||||
|
|
Loading…
Reference in New Issue