On Wed, Mar 02, 2016 at 03:56:21PM +0100, Quentin Monnet wrote: > Document the `--color` option for ovs-ofctl in its manpage. The option > documentation has been added into a new file (included into the > manpage) so that it can easily be added to other manpages as well when > support for colorized output is extended to other utilities. > > The use of the environment variable OVS_COLORS (used for user-defined > colors) has been documented as well. > > Signed-off-by: Quentin Monnet <quentin.mon...@6wind.com>
Thanks. I'm going to fold in the following style and build fixes: diff --git a/lib/automake.mk b/lib/automake.mk index 1eeb5e4..ea92a23 100644 --- a/lib/automake.mk +++ b/lib/automake.mk @@ -431,6 +431,7 @@ EXTRA_DIST += \ lib/db-ctl-base.xml MAN_FRAGMENTS += \ + lib/colors.man \ lib/common.man \ lib/common-syn.man \ lib/coverage-unixctl.man \ diff --git a/lib/colors.man b/lib/colors.man index e0a1726..12fa7a6 100644 --- a/lib/colors.man +++ b/lib/colors.man @@ -3,16 +3,15 @@ . ns . IP "\\$1" .. -.IP "\fB\-\-color\fR[\fB=\fR\fIWHEN\fR] +.IP "\fB\-\-color\fR[\fB=\fR\fIwhen\fR] . -Colorize the output (for some commands); \fIWHEN\fR can be \fBnever\fR, +Colorize the output (for some commands); \fIwhen\fR can be \fBnever\fR, \fBalways\fR, or \fBauto\fR (the default). . .RS .PP -\fBWarning\fR: support for colorized output is mostly experimental, and -incomplete: not all commands are supported at this stage. Furthermore, color -names and default values may be subject to change. +Only some commands support output coloring. Color names and default +colors may change in future releases. .PP The environment variable \fBOVS_COLORS\fR can be used to specify user-defined colors and other attributes used to highlight various parts of the output. If _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev