1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +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:
Peter Rajnoha 2014-12-11 15:16:04 +01:00
parent 3ec482a379
commit 3b02ccd201
5 changed files with 18 additions and 9 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.115 - 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 notify lvmetad about changes done if lvmetad is used.
Fix vgimportclone to properly override config if it is missing in lvm.conf. Fix vgimportclone to properly override config if it is missing in lvm.conf.
Fix automatic use of configure --enable-udev-systemd-background-jobs. Fix automatic use of configure --enable-udev-systemd-background-jobs.

View File

@ -374,6 +374,7 @@ xx(lvdisplay,
"lvdisplay --columns|-C\n" "lvdisplay --columns|-C\n"
"\t[--aligned]\n" "\t[--aligned]\n"
"\t[-a|--all]\n" "\t[-a|--all]\n"
"\t[--binary]\n"
"\t[--commandprofile ProfileName]\n" "\t[--commandprofile ProfileName]\n"
"\t[-d|--debug]\n" "\t[-d|--debug]\n"
"\t[-h|--help]\n" "\t[-h|--help]\n"
@ -394,10 +395,11 @@ xx(lvdisplay,
"\t[--version]\n" "\t[--version]\n"
"\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n", "\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n",
aligned_ARG, all_ARG, colon_ARG, columns_ARG, ignorelockingfailure_ARG, aligned_ARG, all_ARG, binary_ARG, colon_ARG, columns_ARG,
ignoreskippedcluster_ARG, maps_ARG, noheadings_ARG, nosuffix_ARG, ignorelockingfailure_ARG, ignoreskippedcluster_ARG, maps_ARG,
options_ARG, sort_ARG, partial_ARG, readonly_ARG, segments_ARG, noheadings_ARG, nosuffix_ARG, options_ARG, sort_ARG, partial_ARG,
select_ARG, separator_ARG, unbuffered_ARG, units_ARG) readonly_ARG, segments_ARG, select_ARG, separator_ARG,
unbuffered_ARG, units_ARG)
xx(lvextend, xx(lvextend,
"Add space to a logical volume", "Add space to a logical volume",
@ -749,6 +751,7 @@ xx(pvdisplay,
"pvdisplay --columns|-C\n" "pvdisplay --columns|-C\n"
"\t[--aligned]\n" "\t[--aligned]\n"
"\t[-a|--all]\n" "\t[-a|--all]\n"
"\t[--binary]\n"
"\t[--commandprofile ProfileName]\n" "\t[--commandprofile ProfileName]\n"
"\t[-d|--debug]\n" "\t[-d|--debug]\n"
"\t[-h|--help]\n" "\t[-h|--help]\n"
@ -767,10 +770,11 @@ xx(pvdisplay,
"\t[--version]\n" "\t[--version]\n"
"\t[PhysicalVolumePath [PhysicalVolumePath...]]\n", "\t[PhysicalVolumePath [PhysicalVolumePath...]]\n",
aligned_ARG, all_ARG, colon_ARG, columns_ARG, ignorelockingfailure_ARG, aligned_ARG, all_ARG, binary_ARG, colon_ARG, columns_ARG,
ignoreskippedcluster_ARG, maps_ARG, noheadings_ARG, nosuffix_ARG, ignorelockingfailure_ARG, ignoreskippedcluster_ARG, maps_ARG,
options_ARG, readonly_ARG, select_ARG, separator_ARG, short_ARG, sort_ARG, noheadings_ARG, nosuffix_ARG, options_ARG, readonly_ARG,
unbuffered_ARG, units_ARG) select_ARG, separator_ARG, short_ARG, sort_ARG, unbuffered_ARG,
units_ARG)
xx(pvmove, xx(pvmove,
"Move extents from one physical volume to another", "Move extents from one physical volume to another",
@ -1045,6 +1049,7 @@ xx(vgdisplay,
"\n" "\n"
"vgdisplay --columns|-C\n" "vgdisplay --columns|-C\n"
"\t[--aligned]\n" "\t[--aligned]\n"
"\t[--binary]\n"
"\t[--commandprofile ProfileName]\n" "\t[--commandprofile ProfileName]\n"
"\t[-d|--debug]\n" "\t[-d|--debug]\n"
"\t[-h|--help]\n" "\t[-h|--help]\n"
@ -1064,7 +1069,7 @@ xx(vgdisplay,
"\t[--version]\n" "\t[--version]\n"
"\t[VolumeGroupName [VolumeGroupName...]]\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, ignorelockingfailure_ARG, ignoreskippedcluster_ARG, noheadings_ARG,
nosuffix_ARG, options_ARG, partial_ARG, readonly_ARG, select_ARG, nosuffix_ARG, options_ARG, partial_ARG, readonly_ARG, select_ARG,
short_ARG, separator_ARG, sort_ARG, unbuffered_ARG, units_ARG) short_ARG, separator_ARG, sort_ARG, unbuffered_ARG, units_ARG)

View File

@ -43,6 +43,7 @@ int lvdisplay(struct cmd_context *cmd, int argc, char **argv)
} }
if (arg_count(cmd, aligned_ARG) || if (arg_count(cmd, aligned_ARG) ||
arg_count(cmd, binary_ARG) ||
arg_count(cmd, noheadings_ARG) || arg_count(cmd, noheadings_ARG) ||
arg_count(cmd, options_ARG) || arg_count(cmd, options_ARG) ||
arg_count(cmd, select_ARG) || arg_count(cmd, select_ARG) ||

View File

@ -73,6 +73,7 @@ int pvdisplay(struct cmd_context *cmd, int argc, char **argv)
if (arg_count(cmd, aligned_ARG) || if (arg_count(cmd, aligned_ARG) ||
arg_count(cmd, all_ARG) || arg_count(cmd, all_ARG) ||
arg_count(cmd, binary_ARG) ||
arg_count(cmd, noheadings_ARG) || arg_count(cmd, noheadings_ARG) ||
arg_count(cmd, options_ARG) || arg_count(cmd, options_ARG) ||
arg_count(cmd, select_ARG) || arg_count(cmd, select_ARG) ||

View File

@ -63,6 +63,7 @@ int vgdisplay(struct cmd_context *cmd, int argc, char **argv)
} }
return vgs(cmd, argc, argv); return vgs(cmd, argc, argv);
} else if (arg_count(cmd, aligned_ARG) || } else if (arg_count(cmd, aligned_ARG) ||
arg_count(cmd, binary_ARG) ||
arg_count(cmd, noheadings_ARG) || arg_count(cmd, noheadings_ARG) ||
arg_count(cmd, options_ARG) || arg_count(cmd, options_ARG) ||
arg_count(cmd, select_ARG) || arg_count(cmd, select_ARG) ||