-
Notifications
You must be signed in to change notification settings - Fork 12
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
Add --numeric-version as default #9
Comments
The feature doesn't need adding to the |
Do you see any way to encourage people to add that annotation, besides documenting it properly? |
The alternative is to take the summary annotation and look for things that look plausibly version shaped. I'd be happy with that. |
Added, and I checked it works with HLint. |
HLint is my use case for this feature request, but I think the feature is general enough to sit in command line parsing libraries.
Cabal supports the flag
--numeric-version
which is convenient for version detection/comparison in scripts/tools. I looked around in the source but I don't see any obvious ways of adding this flag without breaking the current API.Can you either sketch how to cause the least breakage and I can prepare a patch, or add support for the flag?
The text was updated successfully, but these errors were encountered: