consider only available options for a command