From ca784ceab3f504b7cf9f481ccb76dee021abd76c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Louren=C3=A7o?= Date: Fri, 18 Jun 2021 22:10:27 +0100 Subject: [PATCH] doc: add missing options to index, info, and version --- doc/apk-index.8.scd | 3 +++ doc/apk-info.8.scd | 3 +++ doc/apk-version.8.scd | 29 +++++++++++++++++------------ 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_.