From b62d252b7b51cd4ca8030577849842b07e1913fb Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 16 Jan 2020 17:31:38 -0500 Subject: 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. --- src/cache.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/cache.c') 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, -- cgit v1.2.3-70-g09d2