[PATCH 1/1] cmd: change the return value when argc error

Tom Rini trini at konsulko.com
Thu Jan 12 16:18:04 CET 2023


On Fri, Dec 09, 2022 at 05:17:43PM +0800, Shenlin Liang wrote:

> When the number of parameters is wrong, the return value should be processed in 
> the same way as other cmds, return CMD_RET_USAGE so that it can print the information.
> 
> Signed-off-by: Shenlin Liang <liangshenlin at eswincomputing.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230112/72475d2e/attachment.sig>


More information about the U-Boot mailing list