Bug CLI search rebuild doesn't report error with incorrect parameter

There is a bug in this version