Commit 98ccde78 authored by Seth Vidal's avatar Seth Vidal

add config file option to repo-rss

parent 531291c8
......@@ -182,7 +182,11 @@ def main(options, args):
days = options.days
repoids = args
my = YumQuiet()
if options.config:
my.doConfigSetup(init_plugins=False, fn=options.config)
if os.geteuid() != 0 or options.tempcache:
cachedir = getCacheDir()
if cachedir is None:
......@@ -269,7 +273,8 @@ if __name__ == "__main__":
help="Generate one feed per package group")
parser.add_option("-a", action='append', dest='arches', default=[],
help="arches to use - can be listed more than once")
parser.add_option("-c", action='store', dest='config', default=None,
help="config file")
(options, args) = parser.parse_args()
main(options, args)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment