diff --git a/WHATS_NEW b/WHATS_NEW index 7fa7d3c5e..b9566f872 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.117 - ==================================== + Add support for -S/--select to vgdisplay, lvdisplay and pvdisplay without -C. Add support for -S/--select to vgremove and lvremove. Add support for -S/--select to vgchange,lvchange and pvchange. Add infrastructure to support selection for non-reporting tools. diff --git a/tools/commands.h b/tools/commands.h index 63dbb2a11..f8984d1d8 100644 --- a/tools/commands.h +++ b/tools/commands.h @@ -369,6 +369,7 @@ xx(lvdisplay, "\t[--nosuffix]\n" "\t[-P|--partial]\n" "\t[--readonly]\n" + "\t[-S|--select Selection]\n" "\t[--units hHbBsSkKmMgGtTpPeE]\n" "\t[-v|--verbose]\n" "\t[--version]\n" @@ -747,6 +748,7 @@ xx(pvdisplay, "\t[-m|--maps]\n" "\t[--nosuffix]\n" "\t[--readonly]\n" + "\t[-S|--select Selection]\n" "\t[-s|--short]\n" "\t[--units hHbBsSkKmMgGtTpPeE]\n" "\t[-v|--verbose]\n" @@ -1049,6 +1051,7 @@ xx(vgdisplay, "\t[--nosuffix]\n" "\t[-P|--partial]\n" "\t[--readonly]\n" + "\t[-S|--select Selection]\n" "\t[--units hHbBsSkKmMgGtTpPeE]\n" "\t[--version]\n" "\t[VolumeGroupName [VolumeGroupName...]]\n" diff --git a/tools/lvdisplay.c b/tools/lvdisplay.c index 6b1540f54..7d900cc70 100644 --- a/tools/lvdisplay.c +++ b/tools/lvdisplay.c @@ -46,7 +46,6 @@ int lvdisplay(struct cmd_context *cmd, int argc, char **argv) arg_count(cmd, binary_ARG) || arg_count(cmd, noheadings_ARG) || arg_count(cmd, options_ARG) || - arg_count(cmd, select_ARG) || arg_count(cmd, separator_ARG) || arg_count(cmd, sort_ARG) || arg_count(cmd, unbuffered_ARG)) { diff --git a/tools/pvdisplay.c b/tools/pvdisplay.c index 94a3bbf65..2763889a9 100644 --- a/tools/pvdisplay.c +++ b/tools/pvdisplay.c @@ -77,7 +77,6 @@ int pvdisplay(struct cmd_context *cmd, int argc, char **argv) arg_count(cmd, binary_ARG) || arg_count(cmd, noheadings_ARG) || arg_count(cmd, options_ARG) || - arg_count(cmd, select_ARG) || arg_count(cmd, separator_ARG) || arg_count(cmd, sort_ARG) || arg_count(cmd, unbuffered_ARG)) { diff --git a/tools/vgdisplay.c b/tools/vgdisplay.c index 3c34727e6..5e5ceda6b 100644 --- a/tools/vgdisplay.c +++ b/tools/vgdisplay.c @@ -66,7 +66,6 @@ int vgdisplay(struct cmd_context *cmd, int argc, char **argv) arg_count(cmd, binary_ARG) || arg_count(cmd, noheadings_ARG) || arg_count(cmd, options_ARG) || - arg_count(cmd, select_ARG) || arg_count(cmd, separator_ARG) || arg_count(cmd, sort_ARG) || arg_count(cmd, unbuffered_ARG)) { log_error("Incompatible options selected");