commit | 588ea36e11bcb0274c120a5016feb8734a82e1b0 | [log] [tgz] |
---|---|---|
author | Shenlin Liang <liangshenlin@eswincomputing.com> | Fri Dec 09 17:17:43 2022 +0800 |
committer | Tom Rini <trini@konsulko.com> | Wed Jan 11 11:54:50 2023 -0500 |
tree | 01609b84fe7b2f59268dff5f322e99f1d1f54114 | |
parent | 1e8e8284d69605ca5c8d4d91da3f6b6c343a6055 [diff] |
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>