derks/cement — Issue #92: --help option prints wrong output if more than one unstacked controller is defined
Author: aschreyer
Created: 2012-01-13 16:01:37+00:00
State: open

Using the example from http://cement.readthedocs.org/en/portland/dev/controllers/#additional-controllers-and-namespaces.

If you comment out `stacked_on='base'` in the Controller2 class then it will also appear as valid command for Controller3 in the --help output:

```
$ python example.py controller3 --help
usage: example.py controller3 -opt1 --opt2=VAL [arg1] [arg2] ...

This is the description for controller3.

commands:

command3
A command under controller3

controller2
This is the description for controller2.

optional arguments:
-h, --help show this help message and exit
--debug toggle debug output
--quiet suppress all output
--foo3 FOO3 the notorious foo option
```

I'm using 1.9.4 from PyPI.