aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Fink2026-09-27 08:36:51 +0200
committerDennis Fink2026-09-27 08:36:51 +0200
commita8619c1102d2fda5c63597120bbe45c715b83167 (patch)
treef7dfd4a3c9185ed6ea31fc87cfa1d0c3f36db247
parent4c2962f2c73e775f2d0a26064f4ca9bfeb1c92b7 (diff)
downloadprometheus-borgmatic-exporter-a8619c1102d2fda5c63597120bbe45c715b83167.tar.gz
prometheus-borgmatic-exporter-a8619c1102d2fda5c63597120bbe45c715b83167.zip
docs(cli): update print_version docstring
Use the project-standard Sphinx parameter format for the Click context documentation.
Diffstat (limited to '')
-rw-r--r--prometheus_borgmatic_exporter/__init__.py3
1 files changed, 1 insertions, 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