diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-07-09 06:09:04 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-07-09 06:40:39 +0000 |
commit | 6bea7ab54003fe5357ffcb3ef8f44e57f73d9769 (patch) | |
tree | 3c966fa3b72615acd3a9fa0e851a029005fe9391 /system/apk-tools/search.patch | |
parent | e70265202d0b456edbfdd672024d4e4b06d33984 (diff) | |
download | packages-6bea7ab54003fe5357ffcb3ef8f44e57f73d9769.tar.gz packages-6bea7ab54003fe5357ffcb3ef8f44e57f73d9769.tar.bz2 packages-6bea7ab54003fe5357ffcb3ef8f44e57f73d9769.tar.xz packages-6bea7ab54003fe5357ffcb3ef8f44e57f73d9769.zip |
system/apk-tools: bump to 2.10.4
Diffstat (limited to 'system/apk-tools/search.patch')
-rw-r--r-- | system/apk-tools/search.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/system/apk-tools/search.patch b/system/apk-tools/search.patch new file mode 100644 index 000000000..1c652356f --- /dev/null +++ b/system/apk-tools/search.patch @@ -0,0 +1,29 @@ +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 + |