new callback for when a command has been found with the ability to terminate the parsing
bugfix for boolean type parse