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

2023-01-12 Thread Tom Rini
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 > Reviewed-by: Simon

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

2022-12-12 Thread Simon Glass
On Sat, 10 Dec 2022 at 01:50, 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 > --- >

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

2022-12-09 Thread Shenlin Liang
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 --- cmd/mvebu/comphy_rx_training.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff