cakephp/cakephp — pull request #1013 by sime (2012-12-10 14:14:25+00:00)
Title: ConsoleOptionParser::_parseOption() tramples option values of 0 (zero). ...

...I believe the following condition is the culprit.