Fixed parse-command-function.