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 <ericfahlgren@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22271
(cherry picked from commit c9f612bf45)
Link: https://github.com/openwrt/openwrt/pull/22631
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Eric Fahlgren 2026-03-27 16:46:56 +02:00 committed by Robert Marko
parent 211df89596
commit 396fe239a8

View File

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