From: Phil Sutter Subject: [iproute PATCH 01/10] man: bridge.8: Document -oneline option Date: Thu, 16 Aug 2018 12:27:53 +0200 Message-ID: <20180816102802.31782-2-phil@nwl.cc> References: <20180816102802.31782-1-phil@nwl.cc> Cc: netdev@vger.kernel.org To: Stephen Hemminger Return-path: Received: from orbyte.nwl.cc ([151.80.46.58]:43614 "EHLO orbyte.nwl.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390487AbeHPN0E (ORCPT ); Thu, 16 Aug 2018 09:26:04 -0400 In-Reply-To: <20180816102802.31782-1-phil@nwl.cc> Sender: netdev-owner@vger.kernel.org List-ID: Copied the description from ip.8. Signed-off-by: Phil Sutter --- 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 6dfd4178a19cc..53cd3d0a3d933 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" @@ -191,6 +192,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.18.0