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

Comments

Projects
None yet
1 participant
@derks
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 Jul 6, 2012

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