Skip to content
Commit 5b333b93 authored by Shenlin Liang's avatar Shenlin Liang Committed by Tom Rini
Browse files

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: default avatarShenlin Liang <liangshenlin@eswincomputing.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 6762c8dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment