]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
apk: point help message to openwrt wiki 22271/head
authorEric Fahlgren <ericfahlgren@gmail.com>
Wed, 4 Mar 2026 15:59:46 +0000 (07:59 -0800)
committerRobert Marko <robimarko@gmail.com>
Mon, 9 Mar 2026 09:33:15 +0000 (10:33 +0100)
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>
package/system/apk/patches/0002-openwrt-wiki-help-link.patch [new file with mode: 0644]

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 (file)
index 0000000..587d3c7
--- /dev/null
@@ -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)