Secondary controllers display under other controllers #89

Closed
derks opened this Issue Jan 6, 2012 · 0 comments

Comments

Projects
None yet
1 participant
@derks
Member

derks commented Jan 6, 2012

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment