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

Add support for Option instances in cmdopts. #41

Merged
merged 1 commit into from Jan 7, 2012

Conversation

dcramer
Copy link
Contributor

@dcramer dcramer commented Dec 21, 2011

This makes it so you can pass Option instances to cmdopts.

It also adds a shortcut in paver.easy as "opt"

e.g.

@cmdopts(
opt('-v', '--version', help='My version', dest='version'),
)

@dcramer
Copy link
Contributor Author

dcramer commented Dec 21, 2011

Sorry for the whitespace changes included as well (I have my editor set to clean up things as a default :)

Almad added a commit that referenced this pull request Jan 7, 2012
Add support for Option instances in cmdopts.
@Almad Almad merged commit fa4fbf6 into paver:master Jan 7, 2012
@Almad
Copy link
Member

Almad commented Jan 7, 2012

Also see #42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants