Package gbp :: Module config :: Class GbpOptionGroup
[hide private]
[frames] | no frames]

Class GbpOptionGroup

optparse.OptionContainer --+    
                           |    
        optparse.OptionGroup --+
                               |
                              GbpOptionGroup

Instance Methods [hide private]
 
add_config_file_option(self, option_name, dest, help=None, **kwargs)
set a option for the command line parser, the default is read from the config file
 
add_boolean_config_file_option(self, option_name, dest)

Inherited from optparse.OptionGroup: __init__, destroy, format_help, set_title

Inherited from optparse.OptionGroup (private): _create_option_list

Inherited from optparse.OptionContainer: add_option, add_options, format_description, format_option_help, get_description, get_option, has_option, remove_option, set_conflict_handler, set_description

Inherited from optparse.OptionContainer (private): _check_conflict, _create_option_mappings, _share_option_mappings

Method Details [hide private]

add_config_file_option(self, option_name, dest, help=None, **kwargs)

 

set a option for the command line parser, the default is read from the config file

Parameters:
  • option_name (string) - name of the option
  • dest (string) - where to store this option
  • help (string) - help text