Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit e740bf3

Browse files
committed
Fix 'multiple' is not valid with 'is_flag'
1 parent b0bc443 commit e740bf3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doozerlib/cli/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1653,7 +1653,7 @@ def config_mode(runtime, mode, push, message):
16531653

16541654

16551655
@cli.command("config:print", short_help="View config for given images / rpms")
1656-
@click.option("-n", "--name-only", default=[], is_flag=True, multiple=True,
1656+
@click.option("-n", "--name-only", default=[], is_flag=True,
16571657
help="Just print name of matched configs. Overrides --key")
16581658
@click.option("--key", help="Specific key in config to print", default=None)
16591659
@click.option("--yaml", "as_yaml", default=False, is_flag=True, help='Print results in a yaml block')

0 commit comments

Comments
 (0)