symfony/symfony — pull request #9266 by bamarni (2013-10-10 10:18:12+00:00)
Title: [HelpCommand] reset command definition if instance of self

When running ```php app/console help help```, it displays an extra ```command``` argument at the beginning.

It's because application definition is getting merged into help command (when running it the first time), then, when help command is retrieving "help", application returns the same object (with this extra argument).

Resetting command configuration in that special case removes the extra arg.