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

Passing options before subcommand name doesn't work #89

Closed
remram44 opened this issue Dec 15, 2014 · 4 comments
Closed

Passing options before subcommand name doesn't work #89

remram44 opened this issue Dec 15, 2014 · 4 comments
Labels
A-help wanted Attention: More help is needed here, as I am out of my depth T-bug Type: A fix for unwanted behavior, NOT a new feature or a simple enhancement

Comments

@remram44
Copy link
Member

This used to work. Python 2.7.9 might have broken it.

Filed http://bugs.python.org/issue23058 against argparse.

@remram44 remram44 added T-bug Type: A fix for unwanted behavior, NOT a new feature or a simple enhancement A-help wanted Attention: More help is needed here, as I am out of my depth labels Dec 15, 2014
@remram44 remram44 added this to the 0.5.2 milestone Dec 18, 2014
@remram44
Copy link
Member Author

remram44 commented Jan 2, 2015

Changaco has a workaround: nickstenning/honcho#121, probably worth putting in

@remram44 remram44 modified the milestones: 0.6, 0.6.1 Feb 10, 2015
@remram44
Copy link
Member Author

Barry Warsaw just closed this regression as "not a bug". Should definitely implement the workaround.

@remram44 remram44 modified the milestone: 0.6.2 May 5, 2015
remram44 added a commit that referenced this issue May 14, 2015
@remram44
Copy link
Member Author

test_bug_23058.py shows why this is a problem.

@remram44
Copy link
Member Author

Addressed by b52813a.

The -v flag(s) must now be passed before the command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-help wanted Attention: More help is needed here, as I am out of my depth T-bug Type: A fix for unwanted behavior, NOT a new feature or a simple enhancement
Projects
None yet
Development

No branches or pull requests

1 participant