apk: point help message to openwrt wiki
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run

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
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Eric Fahlgren 2026-03-04 07:59:46 -08:00 committed by Robert Marko
parent 898f678261
commit c9f612bf45

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)