What has priority, the command line or the config?

"Karl O. Pinc" <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <1196443803l.22915l.3l@mofo>
Hi,

I've read all the docs I can find and nowhere
do I see written what takes priority when yum
is supplied conflicting information.

Among the various ways yum can get a setting,
say some excludes glob patterns, what takes
priority?

The [main] section of the config file?

The repository specific section of the
config file?

The command line?

And is there a priority where old settings
are replaced or are the results cumulative?

I've some guesses but figured it's smarter
to ask for the official documentation.

Thanks.


Karl <[email protected]>
Free Software:  "You don't pay back, you pay forward."
                  -- Robert A. Heinlein

P.S. I tried searching the list archives via google
as recommended on the wiki but the giant .gz archives
were painful.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.