derks/cement — Issue #89: Secondary controllers display under other controllers
Author: derks
Created: 2012-01-06 01:06:00+00:00
State: open
Labels: 2.x, bug

Secondary controllers are displaying under other secondary controllers (non stacked) as commands:

$ dmirr --help
usage: dmirr -opt1 --opt2=VAL [arg1] [arg2] ...

dMirr Command Line Interface

commands:

project
dMirr Project Resource Client Interface

user
dMirr User Resource Client Interface

optional arguments:
-h, --help show this help message and exit
--debug toggle debug output
--quiet suppress all output
--version show program's version number and exit

$ dmirr user --help
usage: dmirr user -opt1 --opt2=VAL [arg1] [arg2] ...

dMirr User Resource Client Interface

commands:

listall
list all resources

project
dMirr Project Resource Client Interface

register
register a new user account

show
show all resource data

positional arguments:
resource resource label to work with

optional arguments:
-h, --help show this help message and exit
--debug toggle debug output
--quiet suppress all output

In the above, 'user' and 'project' are controllers... and should only be listed under the base namespace (unless they were stacked on the other secondary controller which they are not).