[connector] fix#939 `search` cmd became possible to disable by options