[openwrt/openwrt] uboot-mediatek: fix readmem command help message
LEDE Commits
lede-commits at lists.infradead.org
Tue Dec 9 11:33:52 PST 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/409b2f41a1ae281259ba3dcae8a4dc4a491e4975
commit 409b2f41a1ae281259ba3dcae8a4dc4a491e4975
Author: Shiji Yang <yangshiji66 at outlook.com>
AuthorDate: Tue Dec 9 18:47:32 2025 +0800
uboot-mediatek: fix readmem command help message
Correct the order of the arguments.
Signed-off-by: Shiji Yang <yangshiji66 at outlook.com>
Link: https://github.com/openwrt/openwrt/pull/21109
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/boot/uboot-mediatek/patches/220-cmd-env-readmem.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/boot/uboot-mediatek/patches/220-cmd-env-readmem.patch b/package/boot/uboot-mediatek/patches/220-cmd-env-readmem.patch
index 7d4018a1a4..0dd2cdd760 100644
--- a/package/boot/uboot-mediatek/patches/220-cmd-env-readmem.patch
+++ b/package/boot/uboot-mediatek/patches/220-cmd-env-readmem.patch
@@ -104,7 +104,7 @@
+U_BOOT_CMD_COMPLETE(
+ readmem, CONFIG_SYS_MAXARGS, 3, do_env_readmem,
+ "get environment variable from memory address",
-+ "name [-b] address size\n"
++ "[-b] name address size\n"
+ " - store memory address to env variable\n"
+ " \"-b\": read binary ethaddr",
+ var_complete
More information about the lede-commits
mailing list