aboutsummaryrefslogtreecommitdiffstats
path: root/src/fetch.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/fetch.c
parent5b6c6e3573f241b19a174ea74d8258f4b547d860 (diff)
downloadapk-tools-b62d252b7b51cd4ca8030577849842b07e1913fb.tar.bz2
apk-tools-b62d252b7b51cd4ca8030577849842b07e1913fb.tar.xz
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/fetch.c')
-rw-r--r--src/fetch.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/fetch.c b/src/fetch.c
index 9a7c46a..dacc7d1 100644
--- a/src/fetch.c
+++ b/src/fetch.c
@@ -92,13 +92,11 @@ static int option_parse_applet(void *ctx, struct apk_db_options *dbopts, int opt
}
static const struct apk_option options_applet[] = {
- { 'L', "link", "Create hard links if possible" },
- { 'R', "recursive", "Fetch the PACKAGE and all its dependencies" },
- { 0x104, "simulate", "Show what would be done without actually doing it" },
- { 's', "stdout", "Dump the .apk to stdout (incompatible "
- "with -o, -R, --progress)" },
- { 'o', "output", "Directory to place the PACKAGEs to",
- required_argument, "DIR" },
+ { 'L', "link" },
+ { 'R', "recursive" },
+ { 0x104, "simulate" },
+ { 's', "stdout" },
+ { 'o', "output", required_argument, "DIR" },
};
static const struct apk_option_group optgroup_applet = {
@@ -345,7 +343,6 @@ static int fetch_main(void *pctx, struct apk_database *db, struct apk_string_arr
static struct apk_applet apk_fetch = {
.name = "fetch",
- .help = "Download PACKAGEs from global repositories to a local directory",
.arguments = "PACKAGE...",
.open_flags = APK_OPENF_READ | APK_OPENF_NO_STATE,
.command_groups = APK_COMMAND_GROUP_REPO,