1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-26 17:25:10 +03:00

man: update lvmreport man page about report/headings and --headings

This commit is contained in:
Peter Rajnoha 2023-08-22 14:21:58 +02:00
parent 5a6d1369f6
commit 2ab2da5e02
No known key found for this signature in database
GPG Key ID: E776664036DF84AB

View File

@ -181,12 +181,15 @@ Overrides report/aligned configuration setting.
.TP
.B --binary
Overrides report/binary_values_as_numeric configuration setting.
TP
.B --headings
Overrides report/headings congiguration settings.
.TP
.B --nameprefixes
Overrides report/prefixes configuration setting.
.TP
.B --noheadings
Overrides report/noheadings configuration setting.
Overrides report/headings configuration setting.
.TP
.B --nosuffix
Overrides global/suffix configuration setting.
@ -1298,6 +1301,26 @@ binary_values_as_numeric=1
lvol1 4.00m 100.00 1
lvol0 4.00m 1
.fi
.P
In certain cases, you may find it more useful to report full column names
instead of abbreviated column names in report headings. To do this, use
\fBreport/headings=2\fP configuration setting (or \fB--headings full\fP
or \fB--headings 2\fP command line option). The full column names are
the exact names that you also use in \fIFieldSet\fP for \fB-o|--options\fP.
These names are unambiguous, without spaces (one word only) and they also
make it easier to match the output with requested \fIFieldSet\fP:
.P
.nf
# lvs -o+seg_start,seg_start_pe
LV VG LSize Cpy%Sync Start Start
lvol0 vg 4.00m 0 0
lvol1 vg 4.00m 100.00 0 0
# lvs --headings full -o+seg_start,seg_start_pe
lv_name vg_name lv_size copy_percent seg_start seg_start_pe
lvol0 vg 4.00m 0 0
lvol1 vg 4.00m 100.00 0 0
.fi
.
.SS Changing output format
.