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/index.c | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'src/index.c') diff --git a/src/index.c b/src/index.c index 09c32ba..2508e9e 100644 --- a/src/index.c +++ b/src/index.c @@ -56,16 +56,10 @@ static int option_parse_applet(void *ctx, struct apk_db_options *dbopts, int opt } static const struct apk_option options_applet[] = { - { 'o', "output", "Write the generated index to FILE", - required_argument, "FILE" }, - { 'x', "index", "Read INDEX to speed up new index creation by reusing " - "the information from an old index", - required_argument, "INDEX" }, - { 'd', "description", "Embed TEXT as description and version " - "information of the repository index", - required_argument, "TEXT" }, - { 0x10000, "rewrite-arch", "Use ARCH as architecture for all packages", - required_argument, "ARCH" }, + { 'o', "output", required_argument, "FILE" }, + { 'x', "index", required_argument, "INDEX" }, + { 'd', "description", required_argument, "TEXT" }, + { 0x10000, "rewrite-arch", required_argument, "ARCH" }, }; static const struct apk_option_group optgroup_applet = { @@ -259,7 +253,6 @@ static int index_main(void *ctx, struct apk_database *db, struct apk_string_arra static struct apk_applet apk_index = { .name = "index", - .help = "Create repository index file from FILEs", .arguments = "FILE...", .open_flags = APK_OPENF_READ | APK_OPENF_NO_STATE | APK_OPENF_NO_REPOS, .command_groups = APK_COMMAND_GROUP_REPO, -- cgit v1.2.3-70-g09d2