diff --git a/WHATS_NEW b/WHATS_NEW index 59bee7ace..4ed8edf68 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.01.08 - ================================ + Add -a to pvdisplay -C. Avoid rmdir opendir error messsages when dir was already removed. Tighten signal handlers. Avoid some compiler warnings. diff --git a/tools/commands.h b/tools/commands.h index e72532f56..692054bea 100644 --- a/tools/commands.h +++ b/tools/commands.h @@ -410,6 +410,7 @@ xx(pvdisplay, "\n" "pvdisplay --columns|-C\n" "\t[--aligned]\n" + "\t[-a|--all]\n" "\t[-d|--debug]\n" "\t[-h|--help]\n" "\t[--ignorelockingfailure]\n" @@ -424,9 +425,9 @@ xx(pvdisplay, "\t[--version]" "\n" "\t[PhysicalVolumePath [PhysicalVolumePath...]]\n", - aligned_ARG, colon_ARG, columns_ARG, ignorelockingfailure_ARG, maps_ARG, - noheadings_ARG, nosuffix_ARG, options_ARG, separator_ARG, short_ARG, - sort_ARG, unbuffered_ARG, units_ARG) + aligned_ARG, all_ARG, colon_ARG, columns_ARG, ignorelockingfailure_ARG, + maps_ARG, noheadings_ARG, nosuffix_ARG, options_ARG, separator_ARG, + short_ARG, sort_ARG, unbuffered_ARG, units_ARG) xx(pvmove, "Move extents from one physical volume to another", diff --git a/tools/pvdisplay.c b/tools/pvdisplay.c index d36da287c..8489c2669 100644 --- a/tools/pvdisplay.c +++ b/tools/pvdisplay.c @@ -64,6 +64,7 @@ int pvdisplay(struct cmd_context *cmd, int argc, char **argv) } return pvs(cmd, argc, argv); } else if (arg_count(cmd, aligned_ARG) || + arg_count(cmd, all_ARG) || arg_count(cmd, noheadings_ARG) || arg_count(cmd, options_ARG) || arg_count(cmd, separator_ARG) ||