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

Re-support multiple-alias key for ArgParseConfigLoader #687

Merged
merged 2 commits into from
Jun 15, 2022

Conversation

azjps
Copy link
Collaborator

@azjps azjps commented Nov 29, 2021

Its sometimes useful to be able to support multiple aliases for the same trait, e.g. multiple shorthand abbreviations or supporting both underscores and dashes. Re-add support for an arbitrary number of aliases to be possible as a key in Application.aliases and added a simple unit test.

Closes #686

@azjps
Copy link
Collaborator Author

azjps commented Jun 9, 2022

Hi folks, is there anything I can do to help get this merged? It seems to me that it should be a pretty straight-forward bug fix. Thanks in advance.

@blink1073
Copy link
Member

Hi @azjps, I can review once you've resolved the merge conflict.

Its sometimes useful to be able to support multiple
aliases for the same trait, e.g. multiple shorthand
abbreviations or supporting both underscores and dashes.
Re-add support for an arbitrary number of aliases to
be possible as a key in Application.aliases.
Copy link
Member

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thank you!

@blink1073 blink1073 merged commit e586b86 into ipython:main Jun 15, 2022
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.

Multiple aliases for ArgParseConfigLoader
2 participants