change description to help

This commit is contained in:
Louis Abel 2023-09-05 02:30:55 -07:00
parent acbfc8b2c4
commit 58f5b81f46
Signed by: label
GPG Key ID: B37E62D143879B36

View File

@ -210,22 +210,22 @@ def main(options):
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument('--filename', type=str, default='repo-rss.xml',
description='File patch to export to')
help='File patch to export to')
parser.add_argument('--link', type=str, default='http://yum.baseurl.org',
description='URL link to repository root')
help='URL link to repository root')
parser.add_argument('--title', type=str, default='RSS Repository - Recent Packages',
description='Title of the feed')
help='Title of the feed')
parser.add_argument('--description', type=str, default='Most recent packages in Repositories',
description='Description of the feed')
parser.add_argument('--days', type=int, default=7, description='Number of days to look back')
help='Description of the feed')
parser.add_argument('--days', type=int, default=7, help='Number of days to look back')
parser.add_argument('--tempcache', action='store_true',
description='Temporary cache location (automatically on if not root)')
help='Temporary cache location (automatically on if not root)')
parser.add_argument('--module-hotfixes', action='store_true',
description='Only use this to catch all module packages')
help='Only use this to catch all module packages')
parser.add_argument('--arches', action='append', default=[],
description='List of architectures to care about')
help='List of architectures to care about')
parser.add_argument('--config', type=str, default='',
description='A dnf configuration to use if you do not want to use the default')
help='A dnf configuration to use if you do not want to use the default')
parser.add_argument('repoids', metavar='N', type=str, nargs='+')
results = parser.parse_args()