From 5996dcdc95ca681b3dae5ec5e529694c07409957 Mon Sep 17 00:00:00 2001 From: mboelen Date: Tue, 19 Apr 2016 19:47:50 +0200 Subject: [PATCH] Add verbose option to profiles --- include/profiles | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/profiles b/include/profiles index 3e8d5963..787d561a 100644 --- a/include/profiles +++ b/include/profiles @@ -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})"