Some (all?) command line arguments are silently ignored when using config file
When using a configuration file (--configfile
), Glance silently ignores at least some command line arguments. I know that a list of variable names is definitely ignored. This may be reasonable (the configuration file needs to include the list of variable names, or an explicit empty dict to indicate "all"), but silently ignoring the command line seems bad. This probably needs at least a warning and perhaps it should be an error.
The logic in question appears to be in load_config_or_options
in /pyglance/glance/config_organizer.py
around line 316.