Skip to content
Snippets Groups Projects
user avatar
Alessandro Rubini authored
The sub-command parser missed a brace, so "return 0;" is always
taken and no error message is diplayed if you say "i2c scan"
instead of "i2c probe", for example.

Proper brace is added. Also, a misleading and unneeded else
is removed.

Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com.it>
6aee3048
History
Name Last commit Last update