linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Todd Gill <tgill@redhat.com>
To: linux-lvm@redhat.com
Cc: tgill@redhat.com
Subject: [linux-lvm] [PATCH 2/2] Update man page to include --reportformat for list and report subcommands
Date: Fri, 24 Jan 2020 14:58:30 -0500	[thread overview]
Message-ID: <20200124195830.6720-3-tgill@redhat.com> (raw)
In-Reply-To: <20200124195830.6720-1-tgill@redhat.com>

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

Signed-off-by: Todd Gill <tgill@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

      parent reply	other threads:[~2020-01-24 19:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-24 19:58 [linux-lvm] [PATCH 0/2] JSON output for dmstats Todd Gill
2020-01-24 19:58 ` [linux-lvm] [PATCH 1/2] Add JSON output support to dmstats for list and report subcommands Todd Gill
2020-01-24 19:58 ` Todd Gill [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200124195830.6720-3-tgill@redhat.com \
    --to=tgill@redhat.com \
    --cc=linux-lvm@redhat.com \
    --subject='Re: [linux-lvm] [PATCH 2/2] Update man page to include --reportformat for list and report subcommands' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).