From abf7c2838bc09bf515b7c2f0f6f631786b3e7c08 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 9 Jan 2018 01:47:21 +0000 Subject: apk: usage: cleanup help text when no applet is selected --- src/index.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/index.c') diff --git a/src/index.c b/src/index.c index 35bd340..09c32ba 100644 --- a/src/index.c +++ b/src/index.c @@ -262,6 +262,7 @@ static struct apk_applet apk_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, .context_size = sizeof(struct index_ctx), .optgroups = { &optgroup_global, &optgroup_applet }, .main = index_main, -- cgit v1.2.3-70-g09d2