less specific argparse epilog reference

This commit is contained in:
Abyss Watcher
2025-01-10 21:19:31 +01:00
parent 615d1d5a2e
commit 1cf0232d25
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -367,7 +367,7 @@ class CommandLine:
plugin,
help=plugin_list[plugin].__doc__,
description=plugin_list[plugin].__doc__,
epilog=getattr(plugin_list[plugin], "_argparse_epilog", None),
epilog=plugin_list[plugin].additional_description,
)
self.populate_requirements_argparse(plugin_parser, plugin_list[plugin])
+1 -1
View File
@@ -112,7 +112,7 @@ class PluginInterface(
# Be careful with inheritance around this (We default to requiring a version which doesn't exist, so it must be set)
_required_framework_version: Tuple[int, int, int] = (0, 0, 0)
"""The _version variable is a quick way for plugins to define their current interface, it should follow SemVer rules"""
_argparse_epilog: str = None
additional_description: str = None
"""Display additional description of the plugin after the description of the arguments. See: https://docs.python.org/3/library/argparse.html#epilog"""
def __init__(