|
|
7e752c |
From 7a9b3fa0fe560cb209f01642e6591ff0b5d42d12 Mon Sep 17 00:00:00 2001
|
|
|
7e752c |
From: Phil Sutter <psutter@redhat.com>
|
|
|
7e752c |
Date: Thu, 13 Sep 2018 20:36:09 +0200
|
|
|
7e752c |
Subject: [PATCH] man: bridge.8: Document -oneline option
|
|
|
7e752c |
|
|
|
7e752c |
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1612704
|
|
|
7e752c |
Upstream Status: iproute2.git commit 05758f5c7b357
|
|
|
7e752c |
|
|
|
7e752c |
commit 05758f5c7b357c53b53e16604bcdfb269fc68a13
|
|
|
7e752c |
Author: Phil Sutter <phil@nwl.cc>
|
|
|
7e752c |
Date: Thu Aug 16 12:27:53 2018 +0200
|
|
|
7e752c |
|
|
|
7e752c |
man: bridge.8: Document -oneline option
|
|
|
7e752c |
|
|
|
7e752c |
Copied the description from ip.8.
|
|
|
7e752c |
|
|
|
7e752c |
Signed-off-by: Phil Sutter <phil@nwl.cc>
|
|
|
7e752c |
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
|
|
|
7e752c |
---
|
|
|
7e752c |
man/man8/bridge.8 | 15 ++++++++++++++-
|
|
|
7e752c |
1 file changed, 14 insertions(+), 1 deletion(-)
|
|
|
7e752c |
|
|
|
7e752c |
diff --git a/man/man8/bridge.8 b/man/man8/bridge.8
|
|
|
7e752c |
index e7f7148..95851e0 100644
|
|
|
7e752c |
--- a/man/man8/bridge.8
|
|
|
7e752c |
+++ b/man/man8/bridge.8
|
|
|
7e752c |
@@ -24,7 +24,8 @@ bridge \- show / manipulate bridge addresses and devices
|
|
|
7e752c |
\fB\-b\fR[\fIatch\fR] filename |
|
|
|
7e752c |
\fB\-c\fR[\folor\fR] |
|
|
|
7e752c |
\fB\-p\fR[\fIretty\fR] |
|
|
|
7e752c |
-\fB\-j\fR[\fIson\fR] }
|
|
|
7e752c |
+\fB\-j\fR[\fIson\fR] |
|
|
|
7e752c |
+\fB\-o\fR[\fIneline\fr] }
|
|
|
7e752c |
|
|
|
7e752c |
.ti -8
|
|
|
7e752c |
.BR "bridge link set"
|
|
|
7e752c |
@@ -181,6 +182,18 @@ Output results in JavaScript Object Notation (JSON).
|
|
|
7e752c |
.BR "\-p", " \-pretty"
|
|
|
7e752c |
When combined with -j generate a pretty JSON output.
|
|
|
7e752c |
|
|
|
7e752c |
+.TP
|
|
|
7e752c |
+.BR "\-o", " \-oneline"
|
|
|
7e752c |
+output each record on a single line, replacing line feeds
|
|
|
7e752c |
+with the
|
|
|
7e752c |
+.B '\e'
|
|
|
7e752c |
+character. This is convenient when you want to count records
|
|
|
7e752c |
+with
|
|
|
7e752c |
+.BR wc (1)
|
|
|
7e752c |
+or to
|
|
|
7e752c |
+.BR grep (1)
|
|
|
7e752c |
+the output.
|
|
|
7e752c |
+
|
|
|
7e752c |
|
|
|
7e752c |
.SH BRIDGE - COMMAND SYNTAX
|
|
|
7e752c |
|
|
|
7e752c |
--
|
|
|
7e752c |
1.8.3.1
|
|
|
7e752c |
|