Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inherited positional arguments listed multiple times #127

Closed
derks opened this issue Jul 6, 2012 · 0 comments
Closed

inherited positional arguments listed multiple times #127

derks opened this issue Jul 6, 2012 · 0 comments
Assignees
Milestone

Comments

@derks
Copy link
Member

derks commented Jul 6, 2012

The following abstract base class is in use:

class MyAbstractBaseController(CementBaseController):
    class Meta:
        arguments = [
            (['resource'], dict(help='resource label identifier', nargs='?'))
            ]

When subclassing from this AbstractBaseClass... we end up with the following in '--help':

positional arguments:
  resource    resource label identifier
  resource    resource label identifier
  resource    resource label identifier
  resource    resource label identifier
@ghost ghost assigned derks Jul 6, 2012
derks pushed a commit that referenced this issue Jul 6, 2012
@derks derks closed this as completed Jul 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant