mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-13 16:29:49 +08:00
Revise command line parsing for local module builds to require SRPMs to be
specified individually using multiple '--srpm SRPM' options. Signed-off-by: Merlin Mathesius <mmathesi@redhat.com>
This commit is contained in:
@@ -102,7 +102,7 @@ def import_module(mmd_file):
|
||||
|
||||
@manager.option('--stream', action='store', dest="stream")
|
||||
@manager.option('--file', action='store', dest="yaml_file")
|
||||
@manager.option('--srpms', '--srpm', nargs='*', action='store', default=[], dest="srpms")
|
||||
@manager.option('--srpm', action='append', default=[], dest="srpms", metavar='SRPM')
|
||||
@manager.option('--skiptests', action='store_true', dest="skiptests")
|
||||
@manager.option('-l', '--add-local-build', action='append', default=None, dest='local_build_nsvs')
|
||||
@manager.option('-s', '--set-stream', action='append', default=[], dest='default_streams')
|
||||
|
||||
Reference in New Issue
Block a user