summaryrefslogtreecommitdiff
path: root/src/cache.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-01-16 17:31:38 -0500
committerTimo Teräs <timo.teras@iki.fi>2020-01-26 09:03:18 +0200
commitb62d252b7b51cd4ca8030577849842b07e1913fb (patch)
tree657a053d882c5d642e3700862fc65795c5d22152 /src/cache.c
parent5b6c6e3573f241b19a174ea74d8258f4b547d860 (diff)
downloadapk-tools-b62d252b7b51cd4ca8030577849842b07e1913fb.tar.gz
apk-tools-b62d252b7b51cd4ca8030577849842b07e1913fb.tar.bz2
apk-tools-b62d252b7b51cd4ca8030577849842b07e1913fb.tar.xz
apk-tools-b62d252b7b51cd4ca8030577849842b07e1913fb.zip
Update apk to make man pages sole source of truth
Detailed docs have been removed from the apk binaries, in favor of git-style short summaries of each command.
Diffstat (limited to 'src/cache.c')
-rw-r--r--src/cache.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/cache.c b/src/cache.c
index bea241b..d663f56 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -48,10 +48,8 @@ static int option_parse_applet(void *ctx, struct apk_db_options *dbopts, int opt
}
static const struct apk_option options_applet[] = {
- { 'u', "upgrade", "Prefer to upgrade package" },
- { 'l', "latest",
- "Select latest version of package (if it is not pinned), and "
- "print error if it cannot be installed due to other dependencies" },
+ { 'u', "upgrade" },
+ { 'l', "latest" },
};
static const struct apk_option_group optgroup_applet = {
@@ -184,8 +182,6 @@ err:
static struct apk_applet apk_cache = {
.name = "cache",
- .help = "Download missing PACKAGEs to cache and/or delete "
- "unneeded files from cache",
.arguments = "sync | clean | download",
.open_flags = APK_OPENF_READ|APK_OPENF_NO_SCRIPTS|APK_OPENF_CACHE_WRITE,
.command_groups = APK_COMMAND_GROUP_SYSTEM,