Verified Commit 530a6e68 authored by A. Wilcox's avatar A. Wilcox

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/
parent b45415b1
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment