Unable to use ldapsearch

Hi.
I’m unfamiliar with ldapsearch, I typed this.

ldapsearch -h 10.10.10.161 -x

the output is,

ldapsearch: unrecognized option -

why this happened? how can I fix this?