Using question mark in CLI

I try to add a new command to asterisk’s CLI and I want this command to use a question mark as one of the parameters.
But when I tried to test my new command I discovered that question mark cannot be typed in CLI. Does anyone know why?