From a8619c1102d2fda5c63597120bbe45c715b83167 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Sun, 27 Sep 2026 08:36:51 +0200 Subject: docs(cli): update print_version docstring Use the project-standard Sphinx parameter format for the Click context documentation. --- prometheus_borgmatic_exporter/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/prometheus_borgmatic_exporter/__init__.py b/prometheus_borgmatic_exporter/__init__.py index c72012a..b53caac 100644 --- a/prometheus_borgmatic_exporter/__init__.py +++ b/prometheus_borgmatic_exporter/__init__.py @@ -30,8 +30,7 @@ def print_version( ) -> None: """Print script metadata (name, version, description, author, dates) and exit. - Args: - ctx: The Click context associated with the currently running command. + :param ctx: Click context injected by :func:`click.pass_context`. """ if not value or ctx.resilient_parsing: return -- cgit v1.3.1