diff options
author | P. 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) |
commit | a460747f2f1a58d766867c8d0fa854f387b6ca15 (patch) | |
tree | ed36a1b5bab44df74d02ebdbdf6dff52d848f655 | |
parent | a5a4097c98c64cf07b6b6a9bff3e6be94b4d8a04 (diff) | |
download | firman.sh-a460747f2f1a58d766867c8d0fa854f387b6ca15.zip firman.sh-a460747f2f1a58d766867c8d0fa854f387b6ca15.tar.gz firman.sh-a460747f2f1a58d766867c8d0fa854f387b6ca15.tar.bz2 |
cli_info(): Write message to terminal
-rw-r--r-- | src/ui/cli.sh | 5 |
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() |