File ndctl-Documentation-use-includes-in-more-ndctl-command-pag.patch of Package ndctl.16556

From 380a17639914077d493da2402eeb1f00d32d3e3b Mon Sep 17 00:00:00 2001
From: Michal Suchanek <msuchanek@suse.de>
Date: Tue, 14 Jul 2020 13:45:52 +0200
Subject: [PATCH] Documentation: use includes in more ndctl command pages.

References: bsc#1173861
Patch-mainline: v69
Git-commit: 60c13624fd2f391adb91af7b0e9581575f67034a

While backporting commit 498ee3d100c3 ("Documentation: clarify bus/dimm/region filtering")
I noticed not all instances of --bus, --dimm, and --region use the
include and hence do not get the clarification.

Fixes: 498ee3d100c3 ("Documentation: clarify bus/dimm/region filtering")

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
---
 Documentation/ndctl/labels-options.txt     |  7 ++-----
 Documentation/ndctl/ndctl-inject-smart.txt |  4 +---
 Documentation/ndctl/ndctl-monitor.txt      | 11 +++--------
 3 files changed, 6 insertions(+), 16 deletions(-)

diff --git a/Documentation/ndctl/labels-options.txt b/Documentation/ndctl/labels-options.txt
index 539ace079557..326babc79e30 100644
--- a/Documentation/ndctl/labels-options.txt
+++ b/Documentation/ndctl/labels-options.txt
@@ -1,14 +1,11 @@
 // SPDX-License-Identifier: GPL-2.0
 
 <memory device(s)>::
-	One or more 'nmemX' device names. The keyword 'all' can be specified to
-	operate on every dimm in the system, optionally filtered by bus id (see
-        --bus= option).
+include::xable-dimm-options.txt[]
 
 -b::
 --bus=::
-	Limit operation to memory devices (dimms) that are on the given bus.
-	Where 'bus' can be a provider name or a bus id number.
+include::xable-bus-options.txt[]
 
 -v::
 	Turn on verbose debug messages in the library (if ndctl was built with
diff --git a/Documentation/ndctl/ndctl-inject-smart.txt b/Documentation/ndctl/ndctl-inject-smart.txt
index d28be46cae1c..9fd63bae2729 100644
--- a/Documentation/ndctl/ndctl-inject-smart.txt
+++ b/Documentation/ndctl/ndctl-inject-smart.txt
@@ -38,9 +38,7 @@ OPTIONS
 -------
 -b::
 --bus=::
-	Enforce that the operation only be carried on devices that are
-	attached to the given bus. Where 'bus' can be a provider name or a bus
-	id number.
+include::xable-bus-options.txt[]
 
 -m::
 --media-temperature=::
diff --git a/Documentation/ndctl/ndctl-monitor.txt b/Documentation/ndctl/ndctl-monitor.txt
index 2239f047266d..c0273d378b59 100644
--- a/Documentation/ndctl/ndctl-monitor.txt
+++ b/Documentation/ndctl/ndctl-monitor.txt
@@ -49,20 +49,15 @@ OPTIONS
 -------
 -b::
 --bus=::
-	Enforce that the operation only be carried on devices that are
-	attached to the given bus. Where 'bus' can be a provider name
-	or a bus id number.
+include::xable-bus-options.txt[]
 
 -d::
 --dimm=::
-	A 'nmemX' device name, or dimm id number. Select the devices to
-	monitor reference the given dimm.
+include::xable-dimm-options.txt[]
 
 -r::
 --region=::
-	A 'regionX' device name, or a region id number. The keyword 'all'
-	can be specified to carry out the operation on every region in
-	the system, optionally filtered by bus id (see --bus= option).
+include::xable-region-options.txt[]
 
 -n::
 --namespace=::
-- 
2.26.2
openSUSE Build Service is sponsored by