-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Config file options not used #42
Comments
thank you for the report. I'm working for this. |
Thanks for the fix, and also the project! |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
When running with a config file as
where
config.json
containsI will get the following error (because 8080 is in use for something else on my system)
But, if I intentionally set
addr
to an empty string (so bypass triggering of the default flag value), it works:Thinking this is related to the merging strategy used to combine flags and the config file, because if I remove the
WithOverride
strategy the config file works:with the consequence that config file options will always take precedence over command line options, which is not entirely intuitive.
The text was updated successfully, but these errors were encountered: