summaryrefslogtreecommitdiff
path: root/scripts/library
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/library')
-rw-r--r--scripts/library/output_format.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/library/output_format.sh b/scripts/library/output_format.sh
index 18f1f588..9f02c00b 100644
--- a/scripts/library/output_format.sh
+++ b/scripts/library/output_format.sh
@@ -16,6 +16,11 @@ msg2() {
printf "${BLUE} ->${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1
}
+ask() {
+ local mesg=$1; shift
+ printf "${BLUE}::${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}" "$@" >&1
+}
+
warning() {
local mesg=$1; shift
printf "${YELLOW}==> $(gettext "WARNING:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2