summaryrefslogtreecommitdiff
path: root/functions/arguments.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/arguments.sh')
-rwxr-xr-xfunctions/arguments.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/functions/arguments.sh b/functions/arguments.sh
index 8405dcbc9..0bb6441f0 100755
--- a/functions/arguments.sh
+++ b/functions/arguments.sh
@@ -11,7 +11,7 @@ set -e
Arguments ()
{
- ARGUMENTS="`getopt --longoptions breakpoints,conffile:,debug,force,help,logfile:,quiet,usage,verbose,version --name=${PROGRAM} --options huv --shell sh -- "${@}"`"
+ ARGUMENTS="`getopt --longoptions breakpoints,conffile:,debug,force,help,logfile:,trace,root-command:,quiet,usage,verbose,version --name=${PROGRAM} --options huv --shell sh -- "${@}"`"
if [ "${?}" != "0" ]
then
@@ -48,6 +48,14 @@ Arguments ()
LH_LOGFILE="${2}"; shift 2
;;
+ --trace)
+ LH_TRACE="enabled"; shift
+ ;;
+
+ --root-command)
+ LH_ROOT_COMMAND="${2}"; shift
+ ;;
+
--quiet)
LH_QUIET="enabled"; shift
;;