summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/output.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/output.sh b/lib/output.sh
index 7a7888e..c3f74d5 100644
--- a/lib/output.sh
+++ b/lib/output.sh
@@ -55,3 +55,13 @@ info()
return 0
}
+
+info_v()
+{
+ if ${opt_v:-false} || ${conf_verbose:-false}; then
+ info "${@}"
+ return ${?}
+ fi
+
+ return 0
+}