Allow setting --development compose_type.

This is related to https://github.com/release-engineering/productmd/pull/149.

Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
This commit is contained in:
Jan Kaluza 2020-09-25 07:31:20 +02:00
parent 866b881072
commit 1595e188a9

View File

@ -119,6 +119,13 @@ def main():
dest="compose_type", dest="compose_type",
help="make production compose (default unless config specifies otherwise)", help="make production compose (default unless config specifies otherwise)",
) )
parser.add_argument(
"--development",
action="store_const",
const="development",
dest="compose_type",
help="make a development compose",
)
parser.add_argument( parser.add_argument(
"--koji-event", "--koji-event",
metavar="ID", metavar="ID",