Open josephcsible opened 4 days ago
Hmm - it does look like there is some inconsistency from man page generation.
This '-o' is for commands 'pvs/vgs/lvs'
I'll check - thanks for noticing.
This is just the same text used for all man pages. The pv/vg/lvdisplay needs to use -C in addition (to switch into "report/column" mode). The lvm fullreport needs "--configreport" in addition for the "-o" to be usable. We can either write 3 separate texts (with 99% of the common part) for each variation (pvs/vgs/lvs VS. pvdisplay/vgdisplay/lvdisplay VS. fullreport), or we can write into a single common text (though that could be a bit misleading if we start writing about "-C" and "--configreport" need if it's not applicable to other commands using the "-o").
Yep - the man page will need extra clarification - as the option '-C' will simply switch command pvdisplay -> pvs, lvdisplay -> lvs, vgdisplay -> vgs.
So we should probably make there 2 'entries' for such commands i.e. one showing 'old' pvdisplay and one referring to 'pvs'. As ATM it might look a bit confusing a single command has 'many' acceptable option usable only in certain cases.
The man pages for
pvdisplay
,vgdisplay
,lvdisplay
, andlvm-fullreport
all include the following text:But that doesn't actually work:
pvdisplay -o help
,vgdisplay -o help
, andlvdisplay -o help
all give anIncompatible options selected
error, andlvm fullreport -o help
just gives the same output aslvm fullreport
with no arguments.