Now returns an error when an unknown command is entered.