summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Fahlgren2026-03-27 14:46:56 +0000
committerRobert Marko2026-03-27 19:50:50 +0000
commit396fe239a8f8f7bfafdc18eda3bf8a3582d53165 (patch)
treee928e6b190b70c42b8114bb44ff0699599eb6dfa
parent211df895969f8d08256724257f5b786d0ad3a991 (diff)
downloadopenwrt-396fe239a8f8f7bfafdc18eda3bf8a3582d53165.tar.gz
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 c9f612bf45042fce1d95c506e911ca44da29c68f) Link: https://github.com/openwrt/openwrt/pull/22631 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--package/system/apk/patches/0002-openwrt-wiki-help-link.patch13
1 files changed, 13 insertions, 0 deletions
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)