Some improvements in help system

* Add relevant section in the guide
* Simplify code
* Correct bug on subcommands help and add test for it