From 530a6e6847657aa9187acd187269ac25f7cdd932 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Tue, 9 Jul 2019 00:40:15 -0500
Subject: [PATCH] search: Show in "simple" help output

Most users probably want to know about the 'search' applet.

Omission from 'apk --help' output reported by fungalnet[1].

[1]: https://www.reddit.com/r/AdelieLinux/comments/c8mtk9/apk_search/
---
 src/search.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/search.c b/src/search.c
index 9a71747..0b00a3b 100644
--- a/src/search.c
+++ b/src/search.c
@@ -209,6 +209,7 @@ static struct apk_applet apk_search = {
 	.help = "Search package by PATTERNs or by indexed dependencies",
 	.arguments = "PATTERN",
 	.open_flags = APK_OPENF_READ | APK_OPENF_NO_STATE,
+	.command_groups = APK_COMMAND_GROUP_QUERY,
 	.context_size = sizeof(struct search_ctx),
 	.optgroups = { &optgroup_global, &optgroup_applet },
 	.main = search_main,
-- 
2.22.0