The --single parameter instructs the filter code to gate listing of
ancestor ports. However, that behavior can be inferred by attempts to list
a port without the --ports option, i.e. make:
cxl list -p $port
...equivalent to:
cxl list -P -S -p $port
Signed-off-by: Dan Williams <[email protected]>
---
cxl/list.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/cxl/list.c b/cxl/list.c
index 1e9d441190a0..940782d33a10 100644
--- a/cxl/list.c
+++ b/cxl/list.c
@@ -104,6 +104,7 @@ int cmd_list(int argc, const char **argv, struct cxl_ctx
*ctx)
error("please specify entities to list, e.g. using
-m/-M\n");
usage_with_options(u, options);
}
+ param.single = true;
}
log_init(¶m.ctx, "cxl list", "CXL_LIST_LOG");