From: Wu Guanghao Date: Sat, 25 Jun 2022 10:21:21 +0800 Subject: [PATCH] pvdisplay: support -a option In-Reply-To: References: Message-ID: <0f4c62c2-ca98-3fef-b194-6c8a8b2fcd09@huawei.com> List-Id: To: lvm-devel@redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ping... ? 2022/6/9 9:47, Wu Guanghao ??: > pvdisplay already supports the -a option, but it is filtered at the begining, > so delete the redundant judgment. > > Signed-off-by: Wu Guanghao > --- > tools/pvdisplay.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/tools/pvdisplay.c b/tools/pvdisplay.c > index 11f38ebd2..1ed9c0d3f 100644 > --- a/tools/pvdisplay.c > +++ b/tools/pvdisplay.c > @@ -72,7 +72,6 @@ int pvdisplay(struct cmd_context *cmd, int argc, char **argv) > } > > if (arg_is_set(cmd, aligned_ARG) || > - arg_is_set(cmd, all_ARG) || > arg_is_set(cmd, binary_ARG) || > arg_is_set(cmd, noheadings_ARG) || > arg_is_set(cmd, options_ARG) || > -- > 2.27.0 >