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]>
@@ -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