Generalizing internal LH_BREAKPOINTS variable.

This commit is contained in:
Daniel Baumann 2008-11-01 15:10:34 +01:00
parent ad6b01b388
commit 776a7b2227
4 changed files with 7 additions and 12 deletions

View File

@ -23,7 +23,7 @@ Arguments ()
do
case "${1}" in
--breakpoints)
LH_BREAKPOINTS="enabled"
_BREAKPOINTS="enabled"
shift
;;

View File

@ -11,7 +11,7 @@ Breakpoint ()
{
NAME="${1}"
if [ "${LH_BREAKPOINTS}" = "enabled" ]
if [ "${_BREAKPOINTS}" = "enabled" ]
then
Echo_message "Waiting at %s" "${NAME}"
read WAIT

View File

@ -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}"

View File

@ -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})