Просмотр исходного кода

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 2 недель назад
Родитель
Сommit
409b2f41a1
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      package/boot/uboot-mediatek/patches/220-cmd-env-readmem.patch

+ 1 - 1
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