diff options
author | Drew DeVault <sir@cmpwn.com> | 2020-01-16 17:31:38 -0500 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2020-01-26 09:03:18 +0200 |
commit | b62d252b7b51cd4ca8030577849842b07e1913fb (patch) | |
tree | 657a053d882c5d642e3700862fc65795c5d22152 /src/index.c | |
parent | 5b6c6e3573f241b19a174ea74d8258f4b547d860 (diff) | |
download | apk-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/index.c')
-rw-r--r-- | src/index.c | 15 |
1 files changed, 4 insertions, 11 deletions
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, |