|
|
26ccd9 |
From 6a843797767868279a5197699a53154bbed5eb2a Mon Sep 17 00:00:00 2001
|
|
|
26ccd9 |
From: Dan Williams <dan.j.williams@intel.com>
|
|
|
26ccd9 |
Date: Thu, 14 Jul 2022 10:01:52 -0700
|
|
|
26ccd9 |
Subject: [PATCH 175/217] cxl/list: Reformat option list
|
|
|
26ccd9 |
|
|
|
26ccd9 |
Cleanup some spurious spaces and let clang-format re-layout the options.
|
|
|
26ccd9 |
|
|
|
26ccd9 |
Link: https://lore.kernel.org/r/165781811294.1555691.6271986101970794441.stgit@dwillia2-xfh.jf.intel.com
|
|
|
26ccd9 |
Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
|
|
|
26ccd9 |
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
|
|
|
26ccd9 |
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
|
|
|
26ccd9 |
---
|
|
|
26ccd9 |
cxl/list.c | 9 ++++-----
|
|
|
26ccd9 |
1 file changed, 4 insertions(+), 5 deletions(-)
|
|
|
26ccd9 |
|
|
|
26ccd9 |
diff --git a/cxl/list.c b/cxl/list.c
|
|
|
26ccd9 |
index 940782d..1b5f583 100644
|
|
|
26ccd9 |
--- a/cxl/list.c
|
|
|
26ccd9 |
+++ b/cxl/list.c
|
|
|
26ccd9 |
@@ -36,8 +36,7 @@ static const struct option options[] = {
|
|
|
26ccd9 |
"filter by CXL endpoint device name(s)"),
|
|
|
26ccd9 |
OPT_BOOLEAN('E', "endpoints", ¶m.endpoints,
|
|
|
26ccd9 |
"include CXL endpoint info"),
|
|
|
26ccd9 |
- OPT_STRING('d', "decoder", ¶m.decoder_filter,
|
|
|
26ccd9 |
- "decoder device name",
|
|
|
26ccd9 |
+ OPT_STRING('d', "decoder", ¶m.decoder_filter, "decoder device name",
|
|
|
26ccd9 |
"filter by CXL decoder device name(s) / class"),
|
|
|
26ccd9 |
OPT_BOOLEAN('D', "decoders", ¶m.decoders,
|
|
|
26ccd9 |
"include CXL decoder info"),
|
|
|
26ccd9 |
@@ -45,11 +44,11 @@ static const struct option options[] = {
|
|
|
26ccd9 |
"include CXL target data with decoders or ports"),
|
|
|
26ccd9 |
OPT_BOOLEAN('i', "idle", ¶m.idle, "include disabled devices"),
|
|
|
26ccd9 |
OPT_BOOLEAN('u', "human", ¶m.human,
|
|
|
26ccd9 |
- "use human friendly number formats "),
|
|
|
26ccd9 |
+ "use human friendly number formats"),
|
|
|
26ccd9 |
OPT_BOOLEAN('H', "health", ¶m.health,
|
|
|
26ccd9 |
- "include memory device health information "),
|
|
|
26ccd9 |
+ "include memory device health information"),
|
|
|
26ccd9 |
OPT_BOOLEAN('I', "partition", ¶m.partition,
|
|
|
26ccd9 |
- "include memory device partition information "),
|
|
|
26ccd9 |
+ "include memory device partition information"),
|
|
|
26ccd9 |
#ifdef ENABLE_DEBUG
|
|
|
26ccd9 |
OPT_BOOLEAN(0, "debug", &debug, "debug list walk"),
|
|
|
26ccd9 |
#endif
|
|
|
26ccd9 |
--
|
|
|
26ccd9 |
2.27.0
|
|
|
26ccd9 |
|