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

Simon Glass sjg at chromium.org
Tue Dec 13 06:58:57 CET 2022


On Sat, 10 Dec 2022 at 01:50, Shenlin Liang
<liangshenlin at eswincomputing.com> 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>
> ---
>  cmd/mvebu/comphy_rx_training.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list