index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | William Giokas <1007380@gmail.com> | 2013-03-04 02:42:34 -0600 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-03-08 17:04:40 +1000 |
commit | f8ed8620d03e7e6fc58815bbee5b65c786fbc423 (patch) | |
tree | ab1b343dcf9d011217d915686064b46aafa0fd51 /scripts/library/output_format.sh | |
parent | 5a67eee78c58475907a2128c46c08c137d41e4f9 (diff) |
-rw-r--r-- | scripts/library/output_format.sh | 5 |
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 |