From c26564ff159e8c7db1d844f417b03eb354024966 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Sun, 27 Sep 2026 17:30:54 +0200 Subject: 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. --- README.md | 4 ++-- prometheus_pacman_exporter/__init__.py | 2 +- 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." -- cgit v1.3.1