Grep problem

Hi all,
I get this this error message

grep: illegal option -- q
Usage: grep -hblcnsvim pattern file

when I execute this command

rsh <host ip> " ps -ef | grep '26' "

&
ur cooperation is appreciated