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

Allow digits as "alias" short opts #109

Closed
ComedyTomedy opened this issue Dec 22, 2024 · 1 comment
Closed

Allow digits as "alias" short opts #109

ComedyTomedy opened this issue Dec 22, 2024 · 1 comment

Comments

@ComedyTomedy
Copy link

I expected :alias :6 to allow the short option -6, but it was parsed as a positional arg instead.

It's quite common for tools that work with IPv4 and IPv6 to take -4 and -6 to specify the protocol.

@borkdude
Copy link
Contributor

Released in 0.8.62

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

No branches or pull requests

2 participants