Docker rm <container-id> is not working on my system

I am getting some weird error while running
" docker rm "
unknown shorthand flag: ‘i’ in -i

I have no clue what’s happening. is it a issue with docker client command ? or I need to reset something.

Please let me know if anybody has seen such issue and resolved. I will appreciate a quick answer as I stuck on something and need to clean the containers.

Docker version:18.09.6
Server: RHEL 7.9

Regards,
San