fixes #29 - remove --list-tags and --only-tags

This commit is contained in:
jesus m. rodriguez 2017-01-16 21:47:47 -05:00
parent de14541103
commit cd3ef6af29
3 changed files with 0 additions and 25 deletions

View file

@ -23,7 +23,6 @@ __tito_build_opts='
--install
--list-tags
--no-cleanup
--only-tags=
--output=
--rpm
--rpmbuild-options=

View file

@ -328,11 +328,6 @@ class BuildModule(BaseCliModule):
help="Custom arguments specific to a particular builder."
" (key=value)")
self.parser.add_option("--list-tags", dest="list_tags",
action="store_true",
help="List tags for which we build this package",
)
self.parser.add_option("--rpmbuild-options", dest='rpmbuild_options',
default='',
metavar="OPTIONS", help="Options to pass to rpmbuild.")
@ -450,16 +445,6 @@ class ReleaseModule(BaseCliModule):
help="Custom arguments to pass to the builder."
" (key=value)")
# self.parser.add_option("--list-tags", dest="list_tags",
# action="store_true",
# help="List tags for which we build this package",
# )
# These are specific only to Koji releaser, what can we do?
# self.parser.add_option("--only-tags", dest="only_tags",
# action="append", metavar="KOJITAG",
# help="Build in koji only for specified tags",
# )
def _validate_options(self):
if self.options.all and self.options.all_starting_with:

View file

@ -154,15 +154,6 @@ use current branch HEAD instead of latest package tag.
--no-cleanup::
do not clean up temporary build directories/files
--list-tags::
List tags for which we build this package. If you set --debug together
with this option, you will see all tags and whether they are whitelisted
or blacklisted.
--only-tags='KOJI_TAG'::
Build in koji only for specified tags. Can be specified multiple times.
Can be specified using environment variable ONLY_TAGS as well.
--rpmbuild-options='OPTIONS'::
Pass 'OPTIONS' to rpmbuild.