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 9aa4b1f1c..877a24dd8 100755
--- a/functions/arguments.sh
+++ b/functions/arguments.sh
@@ -12,7 +12,7 @@
Arguments ()
{
local ERR=0
- ARGUMENTS="$(getopt --longoptions breakpoints,color,conffile:,debug,force,help,quiet,usage,verbose,version --name=${PROGRAM} --options c:huv --shell sh -- "${@}")" || ERR=$?
+ ARGUMENTS="$(getopt --longoptions breakpoints,color,no-color,conffile:,debug,force,help,quiet,usage,verbose,version --name=${PROGRAM} --options c:huv --shell sh -- "${@}")" || ERR=$?
if [ $ERR -eq 1 ]; then
Echo_error "invalid arguments"
@@ -37,6 +37,11 @@ Arguments ()
shift
;;
+ --no-color)
+ _COLOR="false"
+ shift
+ ;;
+
-c|--conffile)
_CONFFILE="${2}"
shift 2