summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2021-09-02 20:02:29 -0700
committerAndrew G. Morgan <morgan@kernel.org>2021-09-02 20:03:09 -0700
commitc54a087429f96d0ab4561d1aa3bb55a802c226a2 (patch)
tree9c65fcab6b1c1b49a2bd629202c8f6043e99b176
parentf245f03f430482d972b5934d66bd4a31616f95ad (diff)
downloadlibcap2-c54a087429f96d0ab4561d1aa3bb55a802c226a2.tar.gz
Document latest option for captree in its man page.
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
-rw-r--r--doc/captree.89
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/captree.8 b/doc/captree.8
index 700610f..d2c0003 100644
--- a/doc/captree.8
+++ b/doc/captree.8
@@ -1,5 +1,5 @@
.\" Hey, EMACS: -*- nroff -*-
-.TH CAPTREE 8 "2021-08-29"
+.TH CAPTREE 8 "2021-09-02"
.\" Please adjust this date whenever revising the manpage.
.SH NAME
captree \- display process tree capabilities
@@ -45,6 +45,13 @@ Displays the process tree to a depth of
.IR n .
Note, the default value for this parameter is 0, which implies
infinite depth.
+.TP
+.BI \-\-colo[u]r =false
+Colo[u]rs the targeted PIDs, if stdout is a TTY, in red. This option
+defaults to true when running via a TTY. The \fB--color\fI=false\fR
+argument will suppress this color. Piping the output into some other
+program will also suppress the use of colo[u]r.
+
.SH REPORTING BUGS
Please report bugs via:
.TP