-
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
How can I customize --numeric-version? #66
Comments
You can't customise it arbitrarily, but it is taken from the numeric version in summary, as per https://hackage.haskell.org/package/cmdargs-0.10.20/docs/System-Console-CmdArgs-Implicit.html#v:summary. What were you hoping to customise it to say? |
I'd like to change the help message of |
What would you like to change it to? Curious if it needs to be configurable, or just have a better default. |
Ah, it is because I'm making a non-English application. I need to internationalize command line help messages. |
Makes sense. Are there any other flags you've had difficulty translating? I'm surprised if this is the only one, so if there are multiple, I'd like to consider a good way to tackle them all. If it is the only one, we can do something more specific. |
Yes, among the options that were in my application, |
OK, then I'm inclined to target that specifically. How did you customise things like |
I could customize
But I did not try |
Seems like adding |
Yes, it would be sufficient. |
Could I tempt you to submit a patch? I think it shouldn't be too hard, but happy to help if its confusing. Otherwise, might take me a little while to get to it. |
Sorry for being late. It would be great if I could contribute this project. I might try this later when I have enough time to deal with this issue. Thank you! |
You are the only person using cmdargs in this situation as far as I can tell, so no rush on my side at all. Shout if you need help or advice. |
--numeric-version
flag is automatically added as I usesummary
. Is there any way to customize help message of--numeric-version
?Thank you.
The text was updated successfully, but these errors were encountered: