From 05758f5c7b357c53b53e16604bcdfb269fc68a13 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Thu, 16 Aug 2018 12:27:53 +0200 Subject: [PATCH] man: bridge.8: Document -oneline option Copied the description from ip.8. Signed-off-by: Phil Sutter Signed-off-by: Stephen Hemminger --- man/man8/bridge.8 | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/man/man8/bridge.8 b/man/man8/bridge.8 index f6d228c5e..1d10cb2b6 100644 --- a/man/man8/bridge.8 +++ b/man/man8/bridge.8 @@ -24,7 +24,8 @@ bridge \- show / manipulate bridge addresses and devices \fB\-b\fR[\fIatch\fR] filename | \fB\-c\fR[\folor\fR] | \fB\-p\fR[\fIretty\fR] | -\fB\-j\fR[\fIson\fR] } +\fB\-j\fR[\fIson\fR] | +\fB\-o\fR[\fIneline\fr] } .ti -8 .BR "bridge link set" @@ -182,6 +183,18 @@ Output results in JavaScript Object Notation (JSON). .BR "\-p", " \-pretty" When combined with -j generate a pretty JSON output. +.TP +.BR "\-o", " \-oneline" +output each record on a single line, replacing line feeds +with the +.B '\e' +character. This is convenient when you want to count records +with +.BR wc (1) +or to +.BR grep (1) +the output. + .SH BRIDGE - COMMAND SYNTAX -- 2.47.2