From 629c6ff7a345be189024a025e9a7764abbbc1811 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Tue, 5 Sep 2023 02:31:03 -0700 Subject: [PATCH] fix days flag for template --- files/usr/libexec/rocky/rss.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/files/usr/libexec/rocky/rss.py b/files/usr/libexec/rocky/rss.py index 2410de5..e7396f6 100644 --- a/files/usr/libexec/rocky/rss.py +++ b/files/usr/libexec/rocky/rss.py @@ -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()