summaryrefslogtreecommitdiff
path: root/functions/arguments.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/arguments.sh')
-rwxr-xr-xfunctions/arguments.sh7
1 files changed, 6 insertions, 1 deletions
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