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/fix.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'src/fix.c') diff --git a/src/fix.c b/src/fix.c index d28d913..8a7c6b2 100644 --- a/src/fix.c +++ b/src/fix.c @@ -50,11 +50,11 @@ static int option_parse_applet(void *pctx, struct apk_db_options *dbopts, int op } static const struct apk_option options_applet[] = { - { 'd', "depends", "Fix all dependencies too" }, - { 'r', "reinstall", "Reinstall the package (default)" }, - { 'u', "upgrade", "Prefer to upgrade package" }, - { 'x', "xattr", "Fix packages with broken xattrs" }, - { 0x10000, "directory-permissions", "Reset all directory permissions" }, + { 'd', "depends" }, + { 'r', "reinstall" }, + { 'u', "upgrade" }, + { 'x', "xattr" }, + { 0x10000, "directory-permissions" }, }; static const struct apk_option_group optgroup_applet = { @@ -115,8 +115,6 @@ static int fix_main(void *pctx, struct apk_database *db, struct apk_string_array static struct apk_applet apk_fix = { .name = "fix", - .help = "Repair package or upgrade it without modifying main " - "dependencies", .arguments = "PACKAGE...", .open_flags = APK_OPENF_WRITE, .command_groups = APK_COMMAND_GROUP_SYSTEM, -- cgit v1.2.3-60-g2f50