master - tools, man: --binary option is available with -C for {pv, vg, lv}display
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=3b02ccd2011c058f01c3acce76c599f3a39408e7 Commit: 3b02ccd2011c058f01c3acce76c599f3a39408e7 Parent: 3ec482a3797261d867c097963e65c03306f01c97 Author: Peter Rajnoha <[email protected]> AuthorDate: Thu Dec 11 15:16:04 2014 +0100 Committer: Peter Rajnoha <[email protected]> CommitterDate: Thu Dec 11 15:20:16 2014 +0100
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!
--- WHATS_NEW | 1 + tools/commands.h | 23 ++++++++++++++--------- tools/lvdisplay.c | 1 + tools/pvdisplay.c | 1 + tools/vgdisplay.c | 1 + 5 files changed, 18 insertions(+), 9 deletions(-)
WHATS_NEW +1 -0
@@ -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.
tools/commands.h +14 -9
@@ -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)
tools/lvdisplay.c +1 -0
@@ -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) ||
tools/pvdisplay.c +1 -0
@@ -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) ||
tools/vgdisplay.c +1 -0
@@ -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) ||