Add verbose option to profiles

This commit is contained in:
mboelen 2016-04-19 19:47:50 +02:00
parent f0e7b531cd
commit 5996dcdc95

View File

@ -247,6 +247,12 @@
UPLOAD_SERVER="${VALUE}"
;;
# Verbose output (--verbose)
verbose)
FIND=`echo "${VALUE}" | egrep "^(1|yes)"` && VERBOSE=1
Debug "Verbose set to ${VERBOSE}"
;;
# Catch all bad options and bail out
*)
LogText "Unknown option ${OPTION} (with value: ${VALUE})"