-
Notifications
You must be signed in to change notification settings - Fork 355
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
User defined config file #30
Comments
henryiii
added a commit
that referenced
this issue
Sep 10, 2017
I implemented a similar fix, I just used the existing callback infrastructure ( |
It would be great if you could verify this fix works in your case, too! |
Fix works great! |
henryiii
added a commit
that referenced
this issue
Sep 10, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using
add_config
option and passing a custom filename for the config file it is not loaded.app.add_config("-c,--config", "config.ini", "Read config from an ini file", false);
>> app --config custom_config.ini
Ini parsing code in App.hpp should be something like this to make it work.
The text was updated successfully, but these errors were encountered: