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

Remove argparse patch #81

Closed
wants to merge 1 commit into from
Closed

Remove argparse patch #81

wants to merge 1 commit into from

Conversation

lucc
Copy link
Owner

@lucc lucc commented Jul 22, 2016

The patch is not necessary any more with python3. This allows to parse the config file only after parsing the command line.

This will help with #79.

But this will change the command line interface slightly: Formally you could specify sub command options for the default command without specifying the default command on the command line. Now this is a command line parsing error. That means if default_command=list this used to work but doesn't any more: khard --addressbook main.
I think that is acceptable.

The patch is not necessary any more with python3.  This allows to parse the
config file only after parsing the command line.
@lucc
Copy link
Owner Author

lucc commented Sep 2, 2016

@scheibler As I take from your comments in #79 the new behavior is not acceptable. The new idea I mentioned there might also fix this. So this PR will also be stalled.

@lucc
Copy link
Owner Author

lucc commented Sep 24, 2016

Included in #79.

@lucc lucc closed this Sep 24, 2016
@lucc lucc deleted the default-subcommand branch September 24, 2016 20:13
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

1 participant