Skip to contentSkip to conversation

master - report: select: add man pages for report selection feature

PATCH Peter Rajnoha 1 participant 1 message Jun 17, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=94316dfe9d61a7b46c88458e4a8232667fde192a
Commit:        94316dfe9d61a7b46c88458e4a8232667fde192a
Parent:        40e0f444955690d4c5a5c5da8320a65e23a50553
Author:        Peter Rajnoha <[email protected]>
AuthorDate:    Mon Jun 16 16:23:55 2014 +0200
Committer:     Peter Rajnoha <[email protected]>
CommitterDate: Tue Jun 17 16:27:21 2014 +0200

report: select: add man pages for report selection feature

---
 man/lvdisplay.8.in |    2 +
 man/lvm.8.in       |   69 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 man/lvs.8.in       |   14 ++++++++++
 man/pvdisplay.8.in |    2 +
 man/pvs.8.in       |   14 ++++++++++
 man/vgdisplay.8.in |    2 +
 man/vgs.8.in       |   14 ++++++++++
 7 files changed, 117 insertions(+), 0 deletions(-)
man/lvdisplay.8.in +2 -0
index 5593752..1283d58 100644
@@ -40,6 +40,8 @@ lvdisplay \(em display attributes of a logical volume
 .RI [ + | \- ] Key1 [ , [ + | \- ] Key2 ...]]
 .RB [ \-P | \-\-partial ]
 .RB [ \-\-segments ]
+.RB [ \-S | \-\-select
+.IR Selection ]
 .RB [ \-\-separator
 .IR Separator ]
 .RB [ \-\-unbuffered ]
man/lvm.8.in +69 -0

81 lines not on this page · raw message

man/lvs.8.in +14 -0
index 2467306..371aaf6 100644
@@ -20,6 +20,8 @@ lvs \(em report information about logical volumes
 .RI [ + | \- ] Key1 [,[ + | \- ] Key2 [,...]]]
 .RB [ \-P | \-\-partial ]
 .RB [ \-\-rows ]
+.RB [ \-S | \-\-select
+.IR Selection ]
 .RB [ \-\-separator
 .IR Separator ]
 .RB [ \-\-segments ]
@@ -195,6 +197,18 @@ selection. Precede any column with '\fI\-\fP' for a reverse sort on that column.
 .B \-\-rows
 Output columns as rows.
 .TP
+.BR  \-S ", " \-\-select " " \fISelection
+Display only rows that match selection criteria. All rows are displayed with
+the additional "selected" column (\fB-o selected\fP) showing 1 if the row
+matches the Selection and 0 otherwise. The selection criteria are defined
+by specifying column names and their valid values (that can include reserved
+values) while making use of supported comparison operators. See \fBlvm\fP(8)
+and \fB\-S\fP, \fB\-\-select\fP description for more detailed information
+about constructing the selection criteria. As a quick help and to see full
+list of columns names that can be used in selection including the list of
+reserved values and the set of supported selection operators, check the
+output of \fBlvs -S help\fP command.
+.TP
 .B \-\-segments
 Use default columns that emphasize segment information.
 .TP
man/pvdisplay.8.in +2 -0
index aab65ca..0399c1e 100644
@@ -39,6 +39,8 @@ pvdisplay \- display attributes of a physical volume
 .RB [ \-O | \-\-sort
 .RI [ + | \- ] Key1 [ , [ + | \- ] Key2 ...
 .RI ]]
+.RB [ \-S | \-\-select
+.IR Selection ]
 .RB [ \-\-separator
 .IR Separator ]
 .RB [ \-\-unbuffered ]
man/pvs.8.in +14 -0
index ed57980..ea32d78 100644
@@ -21,6 +21,8 @@ pvs \(em report information about physical volumes
 .RB [ \-P | \-\-partial ]
 .RB [ \-\-rows ]
 .RB [ \-\-segments ]
+.RB [ \-S | \-\-select
+.IR Selection ]
 .RB [ \-\-separator
 .IR Separator ]
 .RB [ \-\-unbuffered ]
@@ -79,6 +81,18 @@ Produces one line of output for each contiguous allocation of space on each
 Physical Volume, showing the start (pvseg_start) and length (pvseg_size) in
 units of physical extents.
 .TP
+.BR  \-S ", " \-\-select " " \fISelection
+Display only rows that match selection criteria. All rows are displayed with
+the additional "selected" column (\fB-o selected\fP) showing 1 if the row
+matches the Selection and 0 otherwise. The selection criteria are defined
+by specifying column names and their valid values (that can include reserved
+values) while making use of supported comparison operators. See \fBlvm\fP(8)
+and \fB\-S\fP, \fB\-\-select\fP description for more detailed information
+about constructing the selection criteria. As a quick help and to see full
+list of columns names that can be used in selection including the list of
+reserved values and the set of supported selection operators, check the
+output of \fBpvs -S help\fP command.
+.TP
 .BR \-O ", " \-\-sort
 Comma-separated ordered list of columns to sort by.  Replaces the default
 selection. Precede any column with '\fI\-\fP' for a reverse sort on that
man/vgdisplay.8.in +2 -0
index d1ea89a..97cb314 100644
@@ -39,6 +39,8 @@ vgdisplay \(em display attributes of volume groups
 .RB [ \-O | \-\-sort
 .RI [ + | \- ] Key1 [ , [ + | \- ] Key2 ...]]
 .RB [ \-P | \-\-partial ]
+.RB [ \-S | \-\-select
+.IR Selection ]
 .RB [ \-\-separator
 .IR Separator ]
 .RB [ \-\-unbuffered ]
man/vgs.8.in +14 -0
index b389ea2..2f71d26 100644
@@ -20,6 +20,8 @@ vgs \(em report information about volume groups
 .RI [ + | \- ] Key1 [ , [ + | \- ] Key2 ...]]
 .RB [ \-P | \-\-partial ]
 .RB [ \-\-rows ]
+.RB [ \-S | \-\-select
+.IR Selection ]
 .RB [ \-\-separator
 .IR Separator ]
 .RB [ \-\-unbuffered ]
@@ -96,6 +98,18 @@ column.
 .B \-\-rows
 Output columns as rows.
 .TP
+.BR  \-S ", " \-\-select " " \fISelection
+Display only rows that match selection criteria. All rows are displayed with
+the additional "selected" column (\fB-o selected\fP) showing 1 if the row
+matches the Selection and 0 otherwise. The selection criteria are defined
+by specifying column names and their valid values (that can include reserved
+values) while making use of supported comparison operators. See \fBlvm\fP(8)
+and \fB\-S\fP, \fB\-\-select\fP description for more detailed information
+about constructing the selection criteria. As a quick help and to see full
+list of columns names that can be used in selection including the list of
+reserved values and the set of supported selection operators, check the
+output of \fBvgs -S help\fP command.
+.TP
 .B \-\-separator \fISeparator
 String to use to separate each column.  Useful if grepping the output.
 .TP