You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Providing a configuration file, either via --config or through other means, doesn't work with a bunch of flags that get overridden in to_config after parsing the aforementioned file.
To Reproduce
Steps to reproduce the behavior:
Create a config file with one of the faulty entries, e.g.,
[client]
halt_after_import = true
Run forest --config <FILE>
See that the flag gets ignored (Forest will continue to sync)
See that forest --config <FILE> --halt-after-import works fine.
Expected behaviour
Configuration file parameters are not overridden by CliOpts defaults.
Screenshots
Environment (please complete the following information):
Describe the bug
Providing a configuration file, either via
--config
or through other means, doesn't work with a bunch of flags that get overridden in to_config after parsing the aforementioned file.To Reproduce
Steps to reproduce the behavior:
forest --config <FILE>
forest --config <FILE> --halt-after-import
works fine.Expected behaviour
Configuration file parameters are not overridden by
CliOpts
defaults.Screenshots
Environment (please complete the following information):
rustc --version
)Other information and links
The text was updated successfully, but these errors were encountered: