1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +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:
Peter Rajnoha 2016-05-02 14:39:32 +02:00
parent 10a1b9e182
commit f8a93763e5

View File

@ -73,6 +73,7 @@ xx(devtypes,
"\t[--nosuffix]\n"
"\t[-o|--options [+|-|#]Field[,Field]]\n"
"\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
"\t[--reportformat {basic|json}]\n"
"\t[--rows]\n"
"\t[-S|--select Selection]\n"
"\t[--separator Separator]\n"
@ -80,10 +81,9 @@ xx(devtypes,
"\t[--unquoted]\n"
"\t[--version]\n",
aligned_ARG, binary_ARG, nameprefixes_ARG,
noheadings_ARG, nosuffix_ARG, options_ARG,
rows_ARG, select_ARG, separator_ARG, sort_ARG,
unbuffered_ARG, unquoted_ARG)
aligned_ARG, binary_ARG, nameprefixes_ARG, noheadings_ARG,
nosuffix_ARG, options_ARG, reportformat_ARG, rows_ARG,
select_ARG, separator_ARG, sort_ARG, unbuffered_ARG, unquoted_ARG)
xx(dumpconfig,
"Display and manipulate configuration information",
@ -679,6 +679,7 @@ xx(lvs,
"\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
"\t[-P|--partial]\n"
"\t[--readonly]\n"
"\t[--reportformat {basic|json}]\n"
"\t[--rows]\n"
"\t[--segments]\n"
"\t[-S|--select Selection]\n"
@ -694,9 +695,9 @@ xx(lvs,
aligned_ARG, all_ARG, binary_ARG, foreign_ARG, history_ARG,
ignorelockingfailure_ARG, ignoreskippedcluster_ARG, nameprefixes_ARG,
noheadings_ARG, nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG,
readonly_ARG, rows_ARG, segments_ARG, select_ARG, separator_ARG,
shared_ARG, sort_ARG, trustcache_ARG, unbuffered_ARG, units_ARG,
unquoted_ARG)
readonly_ARG, reportformat_ARG, rows_ARG, segments_ARG, select_ARG,
separator_ARG, shared_ARG, sort_ARG, trustcache_ARG, unbuffered_ARG,
units_ARG, unquoted_ARG)
xx(lvscan,
"List all logical volumes in all volume groups",
@ -955,6 +956,7 @@ xx(pvs,
"\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
"\t[-P|--partial]\n"
"\t[--readonly]\n"
"\t[--reportformat {basic|json}]\n"
"\t[--rows]\n"
"\t[--segments]\n"
"\t[-S|--select Selection]\n"
@ -969,9 +971,9 @@ xx(pvs,
aligned_ARG, all_ARG, binary_ARG, foreign_ARG, ignorelockingfailure_ARG,
ignoreskippedcluster_ARG, nameprefixes_ARG, noheadings_ARG, nolocking_ARG,
nosuffix_ARG, options_ARG, partial_ARG, readonly_ARG, rows_ARG,
segments_ARG, select_ARG, separator_ARG, shared_ARG, sort_ARG, trustcache_ARG,
unbuffered_ARG, units_ARG, unquoted_ARG)
nosuffix_ARG, options_ARG, partial_ARG, readonly_ARG, reportformat_ARG,
rows_ARG, segments_ARG, select_ARG, separator_ARG, shared_ARG, sort_ARG,
trustcache_ARG, unbuffered_ARG, units_ARG, unquoted_ARG)
xx(pvscan,
"List all physical volumes",
@ -1367,6 +1369,7 @@ xx(vgs,
"\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
"\t[-P|--partial]\n"
"\t[--readonly]\n"
"\t[--reportformat {basic|json}]\n"
"\t[--rows]\n"
"\t[-S|--select Selection]\n"
"\t[--separator Separator]\n"
@ -1379,10 +1382,10 @@ xx(vgs,
"\t[VolumeGroupName [VolumeGroupName...]]\n",
aligned_ARG, all_ARG, binary_ARG, foreign_ARG, ignorelockingfailure_ARG,
ignoreskippedcluster_ARG, nameprefixes_ARG, noheadings_ARG,
nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG,
readonly_ARG, rows_ARG, select_ARG, separator_ARG, shared_ARG, sort_ARG,
trustcache_ARG, unbuffered_ARG, units_ARG, unquoted_ARG)
ignoreskippedcluster_ARG, nameprefixes_ARG, noheadings_ARG, nolocking_ARG,
nosuffix_ARG, options_ARG, partial_ARG, readonly_ARG, reportformat_ARG,
rows_ARG, select_ARG, separator_ARG, shared_ARG, sort_ARG, trustcache_ARG,
unbuffered_ARG, units_ARG, unquoted_ARG)
xx(vgscan,
"Search for all volume groups",