summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2019-12-27 17:30:21 +0200
committerTimo Teräs <timo.teras@iki.fi>2019-12-27 17:30:21 +0200
commit7af5384db77b6fd37309f64f0049f6726f92fccc (patch)
tree81fa507d3fd091b0a4e132f4de5afcee230207e4 /src
parent063c3acbbd5786bd88998693c3bd762f2c0ac2aa (diff)
downloadapk-tools-7af5384db77b6fd37309f64f0049f6726f92fccc.tar.gz
apk-tools-7af5384db77b6fd37309f64f0049f6726f92fccc.tar.bz2
apk-tools-7af5384db77b6fd37309f64f0049f6726f92fccc.tar.xz
apk-tools-7af5384db77b6fd37309f64f0049f6726f92fccc.zip
Revert "search: remove from APK_COMMAND_GROUP_QUERY"
This reverts commit d379edd5bf960de8089b9f2083fc6f14b79e7bba. Requested multiple times. Let's enable this for now. For v3.0, we reconsider which applets to keep and remove the ones not needed.
Diffstat (limited to 'src')
-rw-r--r--src/search.c1
1 files changed, 1 insertions, 0 deletions
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,