Explorar o código

uboot-mediatek: fix readmem command help message

Correct the order of the arguments.

Signed-off-by: Shiji Yang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/21109
Signed-off-by: Hauke Mehrtens <[email protected]>
Shiji Yang hai 3 semanas
pai
achega
409b2f41a1

+ 1 - 1
package/boot/uboot-mediatek/patches/220-cmd-env-readmem.patch

@@ -104,7 +104,7 @@
 +U_BOOT_CMD_COMPLETE(
 +U_BOOT_CMD_COMPLETE(
 +	readmem,	CONFIG_SYS_MAXARGS,	3,	do_env_readmem,
 +	readmem,	CONFIG_SYS_MAXARGS,	3,	do_env_readmem,
 +	"get environment variable from memory address",
 +	"get environment variable from memory address",
-+	"name [-b] address size\n"
++	"[-b] name address size\n"
 +	"    - store memory address to env variable\n"
 +	"    - store memory address to env variable\n"
 +	"      \"-b\": read binary ethaddr",
 +	"      \"-b\": read binary ethaddr",
 +	var_complete
 +	var_complete