Added developer-mode option for profiles

This commit is contained in:
mboelen 2016-04-26 13:51:54 +02:00
parent 55799a524c
commit 812a0ea270
1 changed files with 6 additions and 0 deletions

View File

@ -99,6 +99,12 @@
fi fi
;; ;;
# Development mode (--developer)
developer-mode)
FIND=`echo "${VALUE}" | egrep "^(1|true|yes)"` && DEVELOPER_MODE=1
Debug "Developer mode set to ${DEVELOPER_MODE}"
;;
# Show non-zero exit code when errors are found # Show non-zero exit code when errors are found
error-on-warnings) error-on-warnings)
if [ "${VALUE}" = "yes" -o "${VALUE}" = "true" -o ${VALUE} = "1" ]; then if [ "${VALUE}" = "yes" -o "${VALUE}" = "true" -o ${VALUE} = "1" ]; then