PHP-1276: s/cmd/command/ in 2.8
Merged pull request #779