mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tools, man: --binary option is available with -C for {pv,vg,lv}display
The {pv,vg,lv}display *do* use reporting in case "-C|--columns" is used. The man page was correct, the recognition for the --binary was missing in the code though!
This commit is contained in:
parent
3ec482a379
commit
3b02ccd201
@ -1,5 +1,6 @@
|
||||
Version 2.02.115 -
|
||||
=====================================
|
||||
Add missing recognition for --binary option with {pv,vg,lv}display -C.
|
||||
Fix vgimportclone to notify lvmetad about changes done if lvmetad is used.
|
||||
Fix vgimportclone to properly override config if it is missing in lvm.conf.
|
||||
Fix automatic use of configure --enable-udev-systemd-background-jobs.
|
||||
|
@ -374,6 +374,7 @@ xx(lvdisplay,
|
||||
"lvdisplay --columns|-C\n"
|
||||
"\t[--aligned]\n"
|
||||
"\t[-a|--all]\n"
|
||||
"\t[--binary]\n"
|
||||
"\t[--commandprofile ProfileName]\n"
|
||||
"\t[-d|--debug]\n"
|
||||
"\t[-h|--help]\n"
|
||||
@ -394,10 +395,11 @@ xx(lvdisplay,
|
||||
"\t[--version]\n"
|
||||
"\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n",
|
||||
|
||||
aligned_ARG, all_ARG, colon_ARG, columns_ARG, ignorelockingfailure_ARG,
|
||||
ignoreskippedcluster_ARG, maps_ARG, noheadings_ARG, nosuffix_ARG,
|
||||
options_ARG, sort_ARG, partial_ARG, readonly_ARG, segments_ARG,
|
||||
select_ARG, separator_ARG, unbuffered_ARG, units_ARG)
|
||||
aligned_ARG, all_ARG, binary_ARG, colon_ARG, columns_ARG,
|
||||
ignorelockingfailure_ARG, ignoreskippedcluster_ARG, maps_ARG,
|
||||
noheadings_ARG, nosuffix_ARG, options_ARG, sort_ARG, partial_ARG,
|
||||
readonly_ARG, segments_ARG, select_ARG, separator_ARG,
|
||||
unbuffered_ARG, units_ARG)
|
||||
|
||||
xx(lvextend,
|
||||
"Add space to a logical volume",
|
||||
@ -749,6 +751,7 @@ xx(pvdisplay,
|
||||
"pvdisplay --columns|-C\n"
|
||||
"\t[--aligned]\n"
|
||||
"\t[-a|--all]\n"
|
||||
"\t[--binary]\n"
|
||||
"\t[--commandprofile ProfileName]\n"
|
||||
"\t[-d|--debug]\n"
|
||||
"\t[-h|--help]\n"
|
||||
@ -767,10 +770,11 @@ xx(pvdisplay,
|
||||
"\t[--version]\n"
|
||||
"\t[PhysicalVolumePath [PhysicalVolumePath...]]\n",
|
||||
|
||||
aligned_ARG, all_ARG, colon_ARG, columns_ARG, ignorelockingfailure_ARG,
|
||||
ignoreskippedcluster_ARG, maps_ARG, noheadings_ARG, nosuffix_ARG,
|
||||
options_ARG, readonly_ARG, select_ARG, separator_ARG, short_ARG, sort_ARG,
|
||||
unbuffered_ARG, units_ARG)
|
||||
aligned_ARG, all_ARG, binary_ARG, colon_ARG, columns_ARG,
|
||||
ignorelockingfailure_ARG, ignoreskippedcluster_ARG, maps_ARG,
|
||||
noheadings_ARG, nosuffix_ARG, options_ARG, readonly_ARG,
|
||||
select_ARG, separator_ARG, short_ARG, sort_ARG, unbuffered_ARG,
|
||||
units_ARG)
|
||||
|
||||
xx(pvmove,
|
||||
"Move extents from one physical volume to another",
|
||||
@ -1045,6 +1049,7 @@ xx(vgdisplay,
|
||||
"\n"
|
||||
"vgdisplay --columns|-C\n"
|
||||
"\t[--aligned]\n"
|
||||
"\t[--binary]\n"
|
||||
"\t[--commandprofile ProfileName]\n"
|
||||
"\t[-d|--debug]\n"
|
||||
"\t[-h|--help]\n"
|
||||
@ -1064,7 +1069,7 @@ xx(vgdisplay,
|
||||
"\t[--version]\n"
|
||||
"\t[VolumeGroupName [VolumeGroupName...]]\n",
|
||||
|
||||
activevolumegroups_ARG, aligned_ARG, colon_ARG, columns_ARG,
|
||||
activevolumegroups_ARG, aligned_ARG, binary_ARG, colon_ARG, columns_ARG,
|
||||
ignorelockingfailure_ARG, ignoreskippedcluster_ARG, noheadings_ARG,
|
||||
nosuffix_ARG, options_ARG, partial_ARG, readonly_ARG, select_ARG,
|
||||
short_ARG, separator_ARG, sort_ARG, unbuffered_ARG, units_ARG)
|
||||
|
@ -43,6 +43,7 @@ int lvdisplay(struct cmd_context *cmd, int argc, char **argv)
|
||||
}
|
||||
|
||||
if (arg_count(cmd, aligned_ARG) ||
|
||||
arg_count(cmd, binary_ARG) ||
|
||||
arg_count(cmd, noheadings_ARG) ||
|
||||
arg_count(cmd, options_ARG) ||
|
||||
arg_count(cmd, select_ARG) ||
|
||||
|
@ -73,6 +73,7 @@ int pvdisplay(struct cmd_context *cmd, int argc, char **argv)
|
||||
|
||||
if (arg_count(cmd, aligned_ARG) ||
|
||||
arg_count(cmd, all_ARG) ||
|
||||
arg_count(cmd, binary_ARG) ||
|
||||
arg_count(cmd, noheadings_ARG) ||
|
||||
arg_count(cmd, options_ARG) ||
|
||||
arg_count(cmd, select_ARG) ||
|
||||
|
@ -63,6 +63,7 @@ int vgdisplay(struct cmd_context *cmd, int argc, char **argv)
|
||||
}
|
||||
return vgs(cmd, argc, argv);
|
||||
} else if (arg_count(cmd, aligned_ARG) ||
|
||||
arg_count(cmd, binary_ARG) ||
|
||||
arg_count(cmd, noheadings_ARG) ||
|
||||
arg_count(cmd, options_ARG) ||
|
||||
arg_count(cmd, select_ARG) ||
|
||||
|
Loading…
Reference in New Issue
Block a user