Revert "search: remove from APK_COMMAND_GROUP_QUERY"

This reverts commit d379edd5bf.

Requested multiple times. Let's enable this for now. For v3.0,
we reconsider which applets to keep and remove the ones not needed.
cute-signatures
Timo Teräs 2019-12-27 17:30:21 +02:00
parent 063c3acbbd
commit 7af5384db7
1 changed files with 1 additions and 0 deletions

View File

@ -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,