From c9f612bf45042fce1d95c506e911ca44da29c68f Mon Sep 17 00:00:00 2001 From: Eric Fahlgren Date: Wed, 4 Mar 2026 07:59:46 -0800 Subject: [PATCH] apk: point help message to openwrt wiki Instead of directing users to the useless 'man 8 apk', we direct them to the wiki help page. Signed-off-by: Eric Fahlgren Link: https://github.com/openwrt/openwrt/pull/22271 Signed-off-by: Robert Marko --- .../apk/patches/0002-openwrt-wiki-help-link.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 package/system/apk/patches/0002-openwrt-wiki-help-link.patch diff --git a/package/system/apk/patches/0002-openwrt-wiki-help-link.patch b/package/system/apk/patches/0002-openwrt-wiki-help-link.patch new file mode 100644 index 0000000000..587d3c79ff --- /dev/null +++ b/package/system/apk/patches/0002-openwrt-wiki-help-link.patch @@ -0,0 +1,13 @@ +diff --git a/src/genhelp_apk.lua b/src/genhelp_apk.lua +index a62e84d22ed5..a97264f6ab3c 100644 +--- a/src/genhelp_apk.lua ++++ b/src/genhelp_apk.lua +@@ -65,7 +65,7 @@ local function render_options(doc, out, options) + end + + local function render_footer(doc, out) +- table.insert(out, ("\nFor more information: man %s %s\n"):format(doc.mansection, doc.manpage)) ++ table.insert(out, ("\nFor more information:\n https://openwrt.org/docs/guide-user/additional-software/apk\n")) + end + + local function render_optgroups(doc, out, groups)