mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-11 20:58:50 +03:00
commands: recognize --reportformat option for pvs,vgs,lvs and devtypes command
Enables --reportformat options for pvs, vgs, lvs, devtypes command.
This commit is contained in:
parent
10a1b9e182
commit
f8a93763e5
@ -73,6 +73,7 @@ xx(devtypes,
|
|||||||
"\t[--nosuffix]\n"
|
"\t[--nosuffix]\n"
|
||||||
"\t[-o|--options [+|-|#]Field[,Field]]\n"
|
"\t[-o|--options [+|-|#]Field[,Field]]\n"
|
||||||
"\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
|
"\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
|
||||||
|
"\t[--reportformat {basic|json}]\n"
|
||||||
"\t[--rows]\n"
|
"\t[--rows]\n"
|
||||||
"\t[-S|--select Selection]\n"
|
"\t[-S|--select Selection]\n"
|
||||||
"\t[--separator Separator]\n"
|
"\t[--separator Separator]\n"
|
||||||
@ -80,10 +81,9 @@ xx(devtypes,
|
|||||||
"\t[--unquoted]\n"
|
"\t[--unquoted]\n"
|
||||||
"\t[--version]\n",
|
"\t[--version]\n",
|
||||||
|
|
||||||
aligned_ARG, binary_ARG, nameprefixes_ARG,
|
aligned_ARG, binary_ARG, nameprefixes_ARG, noheadings_ARG,
|
||||||
noheadings_ARG, nosuffix_ARG, options_ARG,
|
nosuffix_ARG, options_ARG, reportformat_ARG, rows_ARG,
|
||||||
rows_ARG, select_ARG, separator_ARG, sort_ARG,
|
select_ARG, separator_ARG, sort_ARG, unbuffered_ARG, unquoted_ARG)
|
||||||
unbuffered_ARG, unquoted_ARG)
|
|
||||||
|
|
||||||
xx(dumpconfig,
|
xx(dumpconfig,
|
||||||
"Display and manipulate configuration information",
|
"Display and manipulate configuration information",
|
||||||
@ -679,6 +679,7 @@ xx(lvs,
|
|||||||
"\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
|
"\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
|
||||||
"\t[-P|--partial]\n"
|
"\t[-P|--partial]\n"
|
||||||
"\t[--readonly]\n"
|
"\t[--readonly]\n"
|
||||||
|
"\t[--reportformat {basic|json}]\n"
|
||||||
"\t[--rows]\n"
|
"\t[--rows]\n"
|
||||||
"\t[--segments]\n"
|
"\t[--segments]\n"
|
||||||
"\t[-S|--select Selection]\n"
|
"\t[-S|--select Selection]\n"
|
||||||
@ -694,9 +695,9 @@ xx(lvs,
|
|||||||
aligned_ARG, all_ARG, binary_ARG, foreign_ARG, history_ARG,
|
aligned_ARG, all_ARG, binary_ARG, foreign_ARG, history_ARG,
|
||||||
ignorelockingfailure_ARG, ignoreskippedcluster_ARG, nameprefixes_ARG,
|
ignorelockingfailure_ARG, ignoreskippedcluster_ARG, nameprefixes_ARG,
|
||||||
noheadings_ARG, nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG,
|
noheadings_ARG, nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG,
|
||||||
readonly_ARG, rows_ARG, segments_ARG, select_ARG, separator_ARG,
|
readonly_ARG, reportformat_ARG, rows_ARG, segments_ARG, select_ARG,
|
||||||
shared_ARG, sort_ARG, trustcache_ARG, unbuffered_ARG, units_ARG,
|
separator_ARG, shared_ARG, sort_ARG, trustcache_ARG, unbuffered_ARG,
|
||||||
unquoted_ARG)
|
units_ARG, unquoted_ARG)
|
||||||
|
|
||||||
xx(lvscan,
|
xx(lvscan,
|
||||||
"List all logical volumes in all volume groups",
|
"List all logical volumes in all volume groups",
|
||||||
@ -955,6 +956,7 @@ xx(pvs,
|
|||||||
"\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
|
"\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
|
||||||
"\t[-P|--partial]\n"
|
"\t[-P|--partial]\n"
|
||||||
"\t[--readonly]\n"
|
"\t[--readonly]\n"
|
||||||
|
"\t[--reportformat {basic|json}]\n"
|
||||||
"\t[--rows]\n"
|
"\t[--rows]\n"
|
||||||
"\t[--segments]\n"
|
"\t[--segments]\n"
|
||||||
"\t[-S|--select Selection]\n"
|
"\t[-S|--select Selection]\n"
|
||||||
@ -969,9 +971,9 @@ xx(pvs,
|
|||||||
|
|
||||||
aligned_ARG, all_ARG, binary_ARG, foreign_ARG, ignorelockingfailure_ARG,
|
aligned_ARG, all_ARG, binary_ARG, foreign_ARG, ignorelockingfailure_ARG,
|
||||||
ignoreskippedcluster_ARG, nameprefixes_ARG, noheadings_ARG, nolocking_ARG,
|
ignoreskippedcluster_ARG, nameprefixes_ARG, noheadings_ARG, nolocking_ARG,
|
||||||
nosuffix_ARG, options_ARG, partial_ARG, readonly_ARG, rows_ARG,
|
nosuffix_ARG, options_ARG, partial_ARG, readonly_ARG, reportformat_ARG,
|
||||||
segments_ARG, select_ARG, separator_ARG, shared_ARG, sort_ARG, trustcache_ARG,
|
rows_ARG, segments_ARG, select_ARG, separator_ARG, shared_ARG, sort_ARG,
|
||||||
unbuffered_ARG, units_ARG, unquoted_ARG)
|
trustcache_ARG, unbuffered_ARG, units_ARG, unquoted_ARG)
|
||||||
|
|
||||||
xx(pvscan,
|
xx(pvscan,
|
||||||
"List all physical volumes",
|
"List all physical volumes",
|
||||||
@ -1367,6 +1369,7 @@ xx(vgs,
|
|||||||
"\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
|
"\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
|
||||||
"\t[-P|--partial]\n"
|
"\t[-P|--partial]\n"
|
||||||
"\t[--readonly]\n"
|
"\t[--readonly]\n"
|
||||||
|
"\t[--reportformat {basic|json}]\n"
|
||||||
"\t[--rows]\n"
|
"\t[--rows]\n"
|
||||||
"\t[-S|--select Selection]\n"
|
"\t[-S|--select Selection]\n"
|
||||||
"\t[--separator Separator]\n"
|
"\t[--separator Separator]\n"
|
||||||
@ -1379,10 +1382,10 @@ xx(vgs,
|
|||||||
"\t[VolumeGroupName [VolumeGroupName...]]\n",
|
"\t[VolumeGroupName [VolumeGroupName...]]\n",
|
||||||
|
|
||||||
aligned_ARG, all_ARG, binary_ARG, foreign_ARG, ignorelockingfailure_ARG,
|
aligned_ARG, all_ARG, binary_ARG, foreign_ARG, ignorelockingfailure_ARG,
|
||||||
ignoreskippedcluster_ARG, nameprefixes_ARG, noheadings_ARG,
|
ignoreskippedcluster_ARG, nameprefixes_ARG, noheadings_ARG, nolocking_ARG,
|
||||||
nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG,
|
nosuffix_ARG, options_ARG, partial_ARG, readonly_ARG, reportformat_ARG,
|
||||||
readonly_ARG, rows_ARG, select_ARG, separator_ARG, shared_ARG, sort_ARG,
|
rows_ARG, select_ARG, separator_ARG, shared_ARG, sort_ARG, trustcache_ARG,
|
||||||
trustcache_ARG, unbuffered_ARG, units_ARG, unquoted_ARG)
|
unbuffered_ARG, units_ARG, unquoted_ARG)
|
||||||
|
|
||||||
xx(vgscan,
|
xx(vgscan,
|
||||||
"Search for all volume groups",
|
"Search for all volume groups",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user