diff options
author | Rodrigo Lourenço <rzl@rzl.ooo> | 2021-06-18 22:10:27 +0100 |
---|---|---|
committer | Rodrigo Lourenço <rzl@rzl.ooo> | 2021-06-19 18:13:04 +0100 |
commit | ca784ceab3f504b7cf9f481ccb76dee021abd76c (patch) | |
tree | 3b0e219aed3c53bb3baf40446a9c9189faa8d71a /doc/apk-version.8.scd | |
parent | d89c219173aeaea174deb8dd7477e1ea7ea71510 (diff) | |
download | apk-tools-ca784ceab3f504b7cf9f481ccb76dee021abd76c.tar.gz apk-tools-ca784ceab3f504b7cf9f481ccb76dee021abd76c.tar.bz2 apk-tools-ca784ceab3f504b7cf9f481ccb76dee021abd76c.tar.xz apk-tools-ca784ceab3f504b7cf9f481ccb76dee021abd76c.zip |
doc: add missing options to index, info, and version
Diffstat (limited to 'doc/apk-version.8.scd')
-rw-r--r-- | doc/apk-version.8.scd | 29 |
1 files changed, 17 insertions, 12 deletions
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_. |