mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 13:49:44 +01:00
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
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:
parent
898f678261
commit
c9f612bf45
1 changed files with 13 additions and 0 deletions
13
package/system/apk/patches/0002-openwrt-wiki-help-link.patch
Normal file
13
package/system/apk/patches/0002-openwrt-wiki-help-link.patch
Normal 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)
|
||||
Loading…
Add table
Reference in a new issue