summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-12-24 12:06:45 +0000
committerRoy Marples <roy@marples.name>2007-12-24 12:06:45 +0000
commit28a74e21255e798e52940f2f56eceb9690559c89 (patch)
tree3a487b11858265f1bf0d10c8ebe457b8a863cd39 /man
parentfcb7ab641cc974d26b419658bf740dbc1168f935 (diff)
downloadopenrc-28a74e21255e798e52940f2f56eceb9690559c89.tar.gz
openrc-28a74e21255e798e52940f2f56eceb9690559c89.tar.bz2
openrc-28a74e21255e798e52940f2f56eceb9690559c89.tar.xz
Add document ebracket
Diffstat (limited to 'man')
-rw-r--r--man/einfo.312
1 files changed, 12 insertions, 0 deletions
diff --git a/man/einfo.3 b/man/einfo.3
index 7ea12d2..9ecee2a 100644
--- a/man/einfo.3
+++ b/man/einfo.3
@@ -33,6 +33,7 @@
.Nm ewarnx , eerrorx ,
.Nm eend , ewend ,
.Nm eendv , ewendv ,
+.Nm ebracket ,
.Nm eindent , eoutdent ,
.Nm eindentv , eoutdentv ,
.Nm eprefix
@@ -61,6 +62,7 @@ Enhanced Informatation output library (libeinfo, -leinfo)
.Ft int Fn ewend "int retval" "const char * restrict format" ...
.Ft int Fn eendv "int retval" "const char * restrict format" ...
.Ft int Fn ewendv "int retval" "const char * restrict format" ...
+.Ft void Fn ebracket "int col" "einfo_color_t color" "const char * restrict msg"
.Ft void Fn eindent void
.Ft void Fn eoutdent void
.Ft void Fn eindentv void
@@ -142,6 +144,16 @@ The value of
.Fa retval
is returned.
.Pp
+.Fn ebracket
+does the same as
+.Fn eend
+but prints
+.Fa msg
+instead of OK or !! in the color
+.Fa color
+at the column
+.Fa col .
+.Pp
.Fn eindent
indents subsequent calls to the above functions by 3 characters.
.Fn eoutdent