diff --git a/elliottlib/cli/move_builds_cli.py b/elliottlib/cli/move_builds_cli.py index 72a808df..7c68e27b 100644 --- a/elliottlib/cli/move_builds_cli.py +++ b/elliottlib/cli/move_builds_cli.py @@ -10,6 +10,7 @@ pass_runtime = click.make_pass_decorator(Runtime) + @cli.command('move-builds', short_help='Move builds from one advisory to another') @click.option( '--from', 'from_advisory', metavar='ADVISORY_ID', @@ -23,7 +24,8 @@ '--kind', '-k', metavar='KIND', required=True, type=click.Choice(['rpm', 'image']), help='Builds of the given KIND [rpm, image]') -@click.option("--noop", "--dry-run", +@click.option( + "--noop", "--dry-run", is_flag=True, default=False, help="Don't change anything")