From e740bf325745bf67b8c90c6bc3cd726db24a4c80 Mon Sep 17 00:00:00 2001 From: Yuxiang Zhu Date: Wed, 14 Sep 2022 13:34:41 +0800 Subject: [PATCH] Fix `'multiple' is not valid with 'is_flag'` --- doozerlib/cli/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doozerlib/cli/__main__.py b/doozerlib/cli/__main__.py index d3042bb52..2c394708a 100644 --- a/doozerlib/cli/__main__.py +++ b/doozerlib/cli/__main__.py @@ -1653,7 +1653,7 @@ def config_mode(runtime, mode, push, message): @cli.command("config:print", short_help="View config for given images / rpms") -@click.option("-n", "--name-only", default=[], is_flag=True, multiple=True, +@click.option("-n", "--name-only", default=[], is_flag=True, help="Just print name of matched configs. Overrides --key") @click.option("--key", help="Specific key in config to print", default=None) @click.option("--yaml", "as_yaml", default=False, is_flag=True, help='Print results in a yaml block')