cmd: change the return value when argc error
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@eswincomputing.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
Loading
Please register or sign in to comment