summaryrefslogtreecommitdiff
path: root/doc/apk-version.8.scd
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2020-05-04 15:24:58 +0300
committerTimo Teräs <timo.teras@iki.fi>2020-05-06 13:05:25 +0300
commit791f93fcbe7a543e0bb844887ba395be8ed8ea44 (patch)
treea507ab39c1832769433a4e8e4b036643c191878f /doc/apk-version.8.scd
parent5258b484bf13441d3d5c199e3c8d70cf2a75b3ca (diff)
downloadapk-tools-791f93fcbe7a543e0bb844887ba395be8ed8ea44.tar.gz
apk-tools-791f93fcbe7a543e0bb844887ba395be8ed8ea44.tar.bz2
apk-tools-791f93fcbe7a543e0bb844887ba395be8ed8ea44.tar.xz
apk-tools-791f93fcbe7a543e0bb844887ba395be8ed8ea44.zip
man pages: make more friendly for help generation
Also few minor fixups added.
Diffstat (limited to 'doc/apk-version.8.scd')
-rw-r--r--doc/apk-version.8.scd18
1 files changed, 10 insertions, 8 deletions
diff --git a/doc/apk-version.8.scd b/doc/apk-version.8.scd
index add4871..1e29b1e 100644
--- a/doc/apk-version.8.scd
+++ b/doc/apk-version.8.scd
@@ -10,18 +10,20 @@ apk version - compare package versions
*apk version* -c _versions_...
-*apk version* -t _left_ _right_
+*apk version* -t _version1_ _version2_
*apk version* -I
# DESCRIPTION
*apk version* compares the versions of installed packages against package
-versions available from repositories (see *apk-repositories*(5)). If no
-packages are specified, all installed packages are considered. Otherwise,
-the comparison is limited to the explicitly listed packages. A summary is
-printed on stdout, with the difference between package versions being
-represented as *>*, *=*, or *<*.
+versions available from repositories (see *apk-repositories*(5)). It can also
+be used to validate and compare version strings.
+
+In default mode, if no packages are specified, all installed packages are
+considered. Otherwise, the comparison is limited to the explicitly listed
+packages. A summary is printed on stdout, with the difference between package
+versions being represented as *>*, *=*, or *<*.
*apk version -c* tests the specified version string(s) for validity and prints
a list of _invalid_ version strings. If all version strings are valid, nothing
@@ -44,8 +46,8 @@ specified).
Consider packages from all repository tags.
*-l* _operand_
- Limit output to packages whose comparison is among the given operands,
- specified as any combination of *>*, *=*, and *<*.
+ Limit to packages with output matching given _operand_. The _operand_
+ can be specified as any combination of *>*, *=*, and *<*.
# AUTHORS