commit | e8941218845e8706906e7f78f51788685ebe5ec6 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Fri Jan 27 22:49:10 2023 +0100 |
committer | Stefan Roese <sr@denx.de> | Mon Feb 13 10:14:50 2023 +0100 |
tree | 5594ef836bb1804693fad5dab64bf89fe0b2b3c9 | |
parent | 6fcc98721c1d806a3eb3bd766c42cde243d399cd [diff] |
cmd: return code when tlv_eeprom incorrectly called A command called with incorrect parameters should set $? to 1 (false). Instead of calling cmd_usage(cmdtp) and then returning 0 just return CMD_RET_FAILURE. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Acked-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Stefan Roese <sr@denx.de>