Generalizing internal LH_BREAKPOINTS variable.
This commit is contained in:
parent
ad6b01b388
commit
776a7b2227
|
@ -23,7 +23,7 @@ Arguments ()
|
|||
do
|
||||
case "${1}" in
|
||||
--breakpoints)
|
||||
LH_BREAKPOINTS="enabled"
|
||||
_BREAKPOINTS="enabled"
|
||||
shift
|
||||
;;
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ Breakpoint ()
|
|||
{
|
||||
NAME="${1}"
|
||||
|
||||
if [ "${LH_BREAKPOINTS}" = "enabled" ]
|
||||
if [ "${_BREAKPOINTS}" = "enabled" ]
|
||||
then
|
||||
Echo_message "Waiting at %s" "${NAME}"
|
||||
read WAIT
|
||||
|
|
|
@ -220,7 +220,7 @@ Set_defaults ()
|
|||
fi
|
||||
|
||||
# Setting live helper options
|
||||
LH_BREAKPOINTS="${LH_BREAKPOINTS:-disabled}"
|
||||
_BREAKPOINTS="${_BREAKPOINTS:-disabled}"
|
||||
_DEBUG="${_DEBUG:-disabled}"
|
||||
_FORCE="${_FORCE:-disabled}"
|
||||
_QUIET="${_QUIET:-disabled}"
|
||||
|
|
|
@ -317,11 +317,6 @@ Local_arguments ()
|
|||
shift 2
|
||||
;;
|
||||
|
||||
--breakpoints)
|
||||
LH_BREAKPOINTS="enabled"
|
||||
shift
|
||||
;;
|
||||
|
||||
-v|--version)
|
||||
Version
|
||||
shift
|
||||
|
@ -643,7 +638,7 @@ Local_arguments ()
|
|||
|
||||
# other
|
||||
--breakpoints)
|
||||
LH_BREAKPOINTS="enabled"
|
||||
_BREAKPOINTS="enabled"
|
||||
shift
|
||||
;;
|
||||
|
||||
|
@ -834,9 +829,9 @@ LH_TEMPLATES="${LH_TEMPLATES}"
|
|||
|
||||
# Live-helper options
|
||||
|
||||
# \$LH_BREAKPOINTS: enable breakpoints
|
||||
# (Default: ${LH_BREAKPOINTS})
|
||||
#LH_BREAKPOINTS="${LH_BREAKPOINTS}"
|
||||
# \$_BREAKPOINTS: enable breakpoints
|
||||
# (Default: ${_BREAKPOINTS})
|
||||
#_BREAKPOINTS="${_BREAKPOINTS}"
|
||||
|
||||
# \$_DEBUG: enable debug
|
||||
# (Default: ${_DEBUG})
|
||||
|
|
Loading…
Reference in New Issue