Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/lib/version/check.sh
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2024-01-19 01:57:18 +0100
committerLevente Polyak <anthraxx@archlinux.org>2024-01-22 19:45:16 +0100
commit4d72f4560c3a64b38dcdb705ec633c3c2ba1f20c (patch)
tree51836e173b48d29b4a8030be4d3c647816ad2bfb /src/lib/version/check.sh
parente3edf25554c78e28679b100e24c55c87ee65a22d (diff)
doc(version): extensively revamp documentation for version subcommands
Enhanced and overhauled the documentation for the 'version' subcommand. The improvements include comprehensive details on the subcommand's behavior, usage, and a variety of scenarios it handles. Added a central section within the pkgctl-version manpage that documents the nvchecker configuration and rules. Component: pkgctl version Singled-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'src/lib/version/check.sh')
-rw-r--r--src/lib/version/check.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/lib/version/check.sh b/src/lib/version/check.sh
index cc8827d..006fd80 100644
--- a/src/lib/version/check.sh
+++ b/src/lib/version/check.sh
@@ -28,13 +28,15 @@ pkgctl_version_check_usage() {
cat <<- _EOF_
Usage: ${COMMAND} [OPTIONS] [PKGBASE]...
- Uses nvchecker, a .nvchecker.toml file and the current PKGBUILD
- pkgver to check if there is a newer package version available.
+ Compares the versions of packages in the local packaging repository against
+ their latest upstream versions.
- The current working directory is used if no PKGBASE is specified.
+ Upon execution, it generates a grouped list that provides detailed insights
+ into each package's status. For each package, it displays the current local
+ version alongside the latest version available upstream.
- To provide GitHub or GitLab tokens to nvchecker, a keyfile.toml
- will be supplied from \${XDG_CONFIG_HOME}/nvchecker.
+ Outputs a summary of up-to-date packages, out-of-date packages, and any
+ check failures.
OPTIONS
-v, --verbose Display results including up-to-date versions