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
Figure out a way to sanely maintain a list of options #188
Comments
On a sidenote: sometimes I'm tempted to write |
I can see writing a wrapper around Getopt::Long, but I'm wary of replicating it. |
That's probably what I'd do. |
I've made some progress on this; I haven't come with a solution for the issue itself, but tests that wish to access the list of options that ack supports should call |
@petdance I think we may need to have a Skype chat or something about this at some point. |
We need to keep options in sync in so many places; where things need to change is documented, but I feel like adding a new option has become a gigantic PITA. Figure it out!
Here are the troubles associated with an option as they currently stand:
App::Ack::ConfigLoader::get_arg_spec
; however, there are some that are not but are still inApp::Ack::ConfigLoader
(ex.--type-add
and friends), and some that are not even inthat file (ex.
--bar
,--thppt
).--help
, as well as the OPTIONS section of the--man
output.This list can probably be improved upon, but this is what I've got at the moment.
The text was updated successfully, but these errors were encountered: