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

Commit

Permalink
Fix 'multiple' is not valid with 'is_flag'
Browse files Browse the repository at this point in the history
  • Loading branch information
vfreex committed Sep 14, 2022
1 parent b0bc443 commit e740bf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doozerlib/cli/__main__.py
Expand Up @@ -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')
Expand Down

0 comments on commit e740bf3

Please sign in to comment.