summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRodrigo Lourenço <rzl@rzl.ooo>2021-06-18 22:10:27 +0100
committerTimo Teräs <timo.teras@iki.fi>2021-07-23 14:57:34 +0300
commit92ed56ea8c831a5cc67f219421b0ad8dbad34eee (patch)
tree4dc673db8e341fd98a9f2f01139b2e1384abd87b /doc
parent467cb7ca3647c7cddff873fc2a6b35eca628b077 (diff)
downloadapk-tools-92ed56ea8c831a5cc67f219421b0ad8dbad34eee.tar.gz
apk-tools-92ed56ea8c831a5cc67f219421b0ad8dbad34eee.tar.bz2
apk-tools-92ed56ea8c831a5cc67f219421b0ad8dbad34eee.tar.xz
apk-tools-92ed56ea8c831a5cc67f219421b0ad8dbad34eee.zip
doc: add missing options to index, info, and version
Diffstat (limited to 'doc')
-rw-r--r--doc/apk-index.8.scd3
-rw-r--r--doc/apk-info.8.scd3
-rw-r--r--doc/apk-version.8.scd29
3 files changed, 23 insertions, 12 deletions
diff --git a/doc/apk-index.8.scd b/doc/apk-index.8.scd
index 63d1d73..82a6a48 100644
--- a/doc/apk-index.8.scd
+++ b/doc/apk-index.8.scd
@@ -34,3 +34,6 @@ will accept it. See *abuild-sign*(1) for details.
Disable the warning about missing dependencies. This happens when A,
depends on package B, that does not have a provider in the indexed
repository.
+
+*--rewrite-arch* _ARCH_
+ Set all package's architecture to _ARCH_.
diff --git a/doc/apk-info.8.scd b/doc/apk-info.8.scd
index 623e7e4..ffef26d 100644
--- a/doc/apk-info.8.scd
+++ b/doc/apk-info.8.scd
@@ -38,6 +38,9 @@ display the appropriate information, then an empty line terminates that field.
*-L, --contents*
List files included in the package.
+*-P, --provides*
+ List what the package provides.
+
*-r, --rdepends*
List reverse dependencies of the package (all other packages which
depend on the package).
diff --git a/doc/apk-version.8.scd b/doc/apk-version.8.scd
index f0daf78..81e5cd0 100644
--- a/doc/apk-version.8.scd
+++ b/doc/apk-version.8.scd
@@ -25,16 +25,7 @@ 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
-is printed and *apk version* exits with status code zero. If one or more
-version strings are invalid, the exit code is nonzero.
-
-*apk version -t* accepts two arbitrary version strings and compares them
-without consulting the database, then prints the result as *>*, *=*, or *<*.
-
-*apk version -I* prints the versions and descriptions of each repository's
-index. See *apk-repositories*(5) for more information.
+Options *-c*, *-I*, and *-t* are mutually exclusive.
# OPTIONS
@@ -42,9 +33,23 @@ These options only apply when checking installed package versions against
packages available from the repositories (when neither *-c*, *-t*, nor *-I* are
specified).
-*-a*
+*-a, --all*
Consider packages from all repository tags.
-*-l* _operand_
+*-c, --check* _versions_...
+ Check versions for validity. If a given version is invalid, it is
+ printed. Exits with status code zero if all versions are valid, and
+ non-zero otherwise.
+
+*-I, --indexes*
+ Print the version and description for each repository's index. See
+ *apk-repositories*(5) for more information.
+
+*-l, --limit* _operand_
Limit to packages with output matching given _operand_. The _operand_
can be specified as any combination of *>*, *=*, and *<*.
+
+*-t, --test* _version1_ _version2_
+ Compare two version strings. Does not consult the database. Prints one
+ of *>*, *=*, or *<*, if _version1_ is, respectively, greater than,
+ equal to, or lesser than _version2_.