#1631 check options for list-signed
Merged 4 years ago by tkopecek. Opened 4 years ago by tkopecek.
tkopecek/koji issue1552  into  master

@@ -2027,6 +2027,8 @@ 

      parser.add_option("--rpm", help=_("Only list signed copies for this RPM"))

      parser.add_option("--tag", help=_("Only list RPMs within this tag"))

      (options, args) = parser.parse_args(args)

+     if not options.build and not options.tag and not options.rpm:

+         parser.error(_("At least one from --build, --rpm, --tag needs to be specified."))

      activate_session(session, goptions)

      qopts = {}

      build_idx = {}

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

4 years ago

Metadata Update from @jcupova:
- Pull-request tagged with: testing-done

4 years ago

Commit d3ef006 fixes this pull-request

Pull-Request has been merged by tkopecek

4 years ago