[lvm-devel] main - pvdisplay: restore --reportformat option

David Teigland teigland at sourceware.org
Fri Jun 24 15:44:53 UTC 2022


Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=db5277c97155632ce83e1125e348eda97c871968
Commit:        db5277c97155632ce83e1125e348eda97c871968
Parent:        3b0f9cec7e999c33f17714358d2b469bda6967d2
Author:        David Teigland <teigland at redhat.com>
AuthorDate:    Fri Jun 24 10:40:54 2022 -0500
Committer:     David Teigland <teigland at redhat.com>
CommitterDate: Fri Jun 24 10:40:54 2022 -0500

pvdisplay: restore --reportformat option

Fixes commit b8f4ec846 "display: ignore --reportformat"
by restoring the --reportformat option to pvdisplay.
Adding -C to pvdisplay turns the command into a reporting
command (like pvs, vgs, lvs) in which --reportformat can
be useful.
---
 tools/command-lines.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/command-lines.in b/tools/command-lines.in
index b64fd0dda..b6a03d158 100644
--- a/tools/command-lines.in
+++ b/tools/command-lines.in
@@ -1593,10 +1593,10 @@ pvdisplay
 OO: --aligned, --all, --binary, --colon, --columns, --configreport ConfigReport,
 --foreign, --ignorelockingfailure,
 --logonly, --maps, --noheadings, --nosuffix, --options String,
---readonly, --select String, --separator String, --shared,
+--readonly, --reportformat ReportFmt, --select String, --separator String, --shared,
 --short, --sort String, --unbuffered, --units Units
 OP: PV|Tag ...
-IO: --ignoreskippedcluster, --reportformat ReportFmt
+IO: --ignoreskippedcluster
 ID: pvdisplay_general
 
 ---



More information about the lvm-devel mailing list