aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Fink2026-09-27 17:30:54 +0200
committerDennis Fink2026-09-27 17:30:54 +0200
commitc26564ff159e8c7db1d844f417b03eb354024966 (patch)
tree26891f668083d84401619448b5a5f33b3c832e75
parenta9934b8a44ccd6f482e7399f931412e8b43033f4 (diff)
downloadprometheus-pacman-exporter-c26564ff159e8c7db1d844f417b03eb354024966.tar.gz
prometheus-pacman-exporter-c26564ff159e8c7db1d844f417b03eb354024966.zip
docs(cli): clarify checkupdates option
Clarify that --use-checkupdates replaces pacman when checking for available package updates. Update the README usage output to match the revised CLI help text.
-rw-r--r--README.md4
-rw-r--r--prometheus_pacman_exporter/__init__.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 4a5e90f..e0e54d4 100644
--- a/README.md
+++ b/README.md
@@ -45,8 +45,8 @@ Options:
Directory where the Prometheus collector
textfile will be written.
[default: /var/lib/prometheus/node-exporter]
- --use-checkupdates Use checkupdates instead of pacman --query
- --upgrades to check for available updates.
+ --use-checkupdates Use checkupdates instead of pacman to check for
+ available package updates.
--aur Include AUR updates.
--aur-command TEXT Command used to check for AUR updates.
--color [auto|always|never] Colorize the output. A bare --color is the
diff --git a/prometheus_pacman_exporter/__init__.py b/prometheus_pacman_exporter/__init__.py
index 73f0945..30bd853 100644
--- a/prometheus_pacman_exporter/__init__.py
+++ b/prometheus_pacman_exporter/__init__.py
@@ -170,7 +170,7 @@ def run_command(
"use_checkupdates_flag",
is_flag=True,
default=False,
- help="Use checkupdates to check for package updates.",
+ help="Use checkupdates instead of pacman to check for available package updates.",
)
@click.option(
"--aur", "aur_flag", is_flag=True, default=False, help="Include AUR updates."