Add quiet mode that only logs failures

This commit is contained in:
Dom Bellizzi
2019-12-18 22:06:44 +00:00
parent d2b3e5ecdc
commit f979c7334f
3 changed files with 15 additions and 1 deletions

View File

@@ -13,6 +13,10 @@
# Output formatting functions
textPass(){
if [[ "$QUIET" == 1 ]]; then
return
fi
PASS_COUNTER=$((PASS_COUNTER+1))
if [[ "$MODE" == "csv" ]]; then
if [[ $2 ]]; then
@@ -55,6 +59,10 @@ textPass(){
}
textInfo(){
if [[ "$QUIET" == 1 ]]; then
return
fi
if [[ "$MODE" == "csv" ]]; then
if [[ $2 ]]; then
REPREGION=$2