Skip to content

How to make a shorthand alias flag to a pair of option name and value? #5808

Answered by epage
KSXGitHub asked this question in Q&A
Discussion options

You must be logged in to vote

We do not currently support this. The workaround would be to define them yourself, make them conflict with each other, and provide an accessor that merges the result of the two.

We had #2836 which ran into problems so we removed it. If we had #3146, then that might be another way of representing this.

If you want to move forward with making a feature, it would be helpful to enumerate the full extent of what you want and why it is important compared to the workaround. It could also be good to list out any prior art in other parsers that you might be aware of.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@KSXGitHub
Comment options

Answer selected by KSXGitHub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants