3 Command line cooperation

The optparser and args arguments of the parse() method are utilized to enable cooperation between the configuation option parser and an instance of the optparse.OptionParser class.

When cooperation is enabled the options object created by the parse() method contains attributes for options from both the command line option parser and the configuration file parser. If the destination attribute name is the same for an option in both the command line and configuration file option parsers, the parsers will cooperate with one another as documented in "Option cooperation" (section 3.2).