summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShiji Yang2025-12-09 10:47:32 +0000
committerHauke Mehrtens2025-12-09 19:32:50 +0000
commit409b2f41a1ae281259ba3dcae8a4dc4a491e4975 (patch)
tree40a0c7e7963bfc1ece933c0bf380092e160194d2
parentc2c38469a8d37c46161076cde873ad50cb5f5e35 (diff)
downloadopenwrt-409b2f41a1ae281259ba3dcae8a4dc4a491e4975.tar.gz
uboot-mediatek: fix readmem command help message
Correct the order of the arguments. Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Link: https://github.com/openwrt/openwrt/pull/21109 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--package/boot/uboot-mediatek/patches/220-cmd-env-readmem.patch2
1 files changed, 1 insertions, 1 deletions
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