davidnutter/Centos-Errata — Issue #2: --config option is ignored, only -c works
Author: philicious
Created: 2012-02-28 15:40:41+00:00
State: open

when supplying a config file with --config='...' option, the file is ignored and the default centos-errata.cfg is taken.
It does work with -c
Problem is with
try:
arg_index = sys.argv.index("-c")
user_config = sys.argv[arg_index+1]
it only checks for -c not for --config