bridge: update man page for new color and json changes

Document color option, and no longer have restriction on json

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David Ahern <dsahern@gmail.com>
This commit is contained in:
Stephen Hemminger 2018-02-20 11:24:07 -08:00 committed by David Ahern
parent f32e4977dc
commit 3a1ca9a5b6
1 changed files with 8 additions and 3 deletions

View File

@ -22,6 +22,7 @@ bridge \- show / manipulate bridge addresses and devices
\fB\-s\fR[\fItatistics\fR] | \fB\-s\fR[\fItatistics\fR] |
\fB\-n\fR[\fIetns\fR] name | \fB\-n\fR[\fIetns\fR] name |
\fB\-b\fR[\fIatch\fR] filename | \fB\-b\fR[\fIatch\fR] filename |
\fB\-c\fR[\folor\fR] |
\fB\-p\fR[\fIretty\fR] | \fB\-p\fR[\fIretty\fR] |
\fB\-j\fR[\fIson\fR] } \fB\-j\fR[\fIson\fR] }
@ -169,11 +170,15 @@ If there were any errors during execution of the commands, the application
return code will be non zero. return code will be non zero.
.TP .TP
.BR "\-json" .BR "\-c" , " -color"
Display results in JSON format. Currently available for vlan and fdb. Use color output.
.TP .TP
.BR "\-pretty" .BR "\-j", " \-json"
Output results in JavaScript Object Notation (JSON).
.TP
.BR "\-p", " \-pretty"
When combined with -j generate a pretty JSON output. When combined with -j generate a pretty JSON output.