Closed samuelallan72 closed 3 years ago
Yes, CLI options should have higher priority. I'll check it.
Moved parsing config in the very beginning, CLI options are parsed after it. At least, --fields
override works.
@VladimirMarkelov can confirm that it solves the issue noted above, thank you! :D
If I have the following set in config:
ttdl list
outputs the headers# D P Due Subject
as expected.But if I try to override the fields on the cli, like
ttdl list --fields 'due,thr'
, the changes are not overridden. If I then remove thefields =
config from the config file, the--fields
flag override does work.I would expect the
--fields
flag to override anything set in the config file.