From 47d0500675e87d4f3c63b14e52bfe730c1307ca7 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 30 Apr 2014 15:49:37 -0400 Subject: info_v(): New function. --- (limited to 'lib') 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 +} -- cgit v0.9.1