summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-10-30 11:19:36 (EDT)
committer P. J. McDermott <pj@pehjota.net>2015-10-30 11:19:36 (EDT)
commita460747f2f1a58d766867c8d0fa854f387b6ca15 (patch)
treeed36a1b5bab44df74d02ebdbdf6dff52d848f655 /src
parenta5a4097c98c64cf07b6b6a9bff3e6be94b4d8a04 (diff)
downloadfirman.sh-a460747f2f1a58d766867c8d0fa854f387b6ca15.zip
firman.sh-a460747f2f1a58d766867c8d0fa854f387b6ca15.tar.gz
firman.sh-a460747f2f1a58d766867c8d0fa854f387b6ca15.tar.bz2
cli_info(): Write message to terminal
Diffstat (limited to 'src')
-rw-r--r--src/ui/cli.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/cli.sh b/src/ui/cli.sh
index 384ac6e..ca78b04 100644
--- a/src/ui/cli.sh
+++ b/src/ui/cli.sh
@@ -35,7 +35,10 @@ cli_dbg()
cli_info()
{
- : No output.
+ local fmt="${1}"
+ shift 1
+
+ printf "${fmt}\n" "${@}" >"${cli_tty}"
}
cli_warn()