[linux-lvm] [PATCH 2/2] Update man page to include --reportformat for list and report subcommands

Todd Gill tgill at redhat.com
Fri Jan 24 19:58:30 UTC 2020


Add text to explain the use of new --reportformat option.

Signed-off-by: Todd Gill <tgill at redhat.com>
---
 man/dmstats.8_main | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/man/dmstats.8_main b/man/dmstats.8_main
index da9d93490..81bd2408d 100644
--- a/man/dmstats.8_main
+++ b/man/dmstats.8_main
@@ -156,6 +156,8 @@ dmstats \(em device-mapper statistics management
 .  RB [ --units
 .  IR units ]
 .  OPT_OBJECTS
+.  RB [ --reportformat
+.  IR basic | json  ]
 .  RB \%[ --nosuffix ]
 .  RB [ --notimesuffix ]
 .  RB \%[ -v | --verbose]
@@ -192,6 +194,8 @@ dmstats \(em device-mapper statistics management
 .  OPT_PROGRAMS
 .  OPT_REGIONS
 .  OPT_OBJECTS
+.  RB [ --reportformat
+.  IR basic | json ]
 .  RB [ -O | --sort
 .  IR sort_fields ]
 .  RB [ -S | --select
@@ -506,6 +510,13 @@ If displaying the histogram report show relative (percentage) values
 instead of absolute counts.
 .
 .HP
+.BR \-\-reportformat
+.RB [ basic | json ]
+.br
+Specify the output format for list and report subcommands. The \fBjson\fP
+option produces report output in JSON format.
+.
+.HP
 .BR -S | --select
 .IR selection
 .br
-- 
2.21.1




More information about the linux-lvm mailing list