Le 22/01/2023 à 14:21, Adrian Bunk a écrit :
I see two approches to solving this bug: - make the command-line options override the configuration specified in global.conf - reject command-line options when they are read in global.conf What do you think? ...The behaviour of "ben download" of having some sane defaults[1] or configuration file that can be overridden on the command line is IMHO pretty good, and I'd expect "ben tracker" to behave the same way.I'll see what I can do.Thanks!
Actually, my initial understanding of what was happening was wrong. No default global.conf is read.
I've pushed a tentative fix: https://salsa.debian.org/debian/ben/-/commit/7b882e6c090828babb677b258f1e64f287d631e8 Can you check that it does what you want? Cheers, -- Stéphane