def _add_basic_options(opt_group):
 opt_group.add_option('-c', '--conf-path', dest='conf_paths', action='callback', callback=_append_to_conf_paths, default=None, nargs=1, type='string', help='Path to alternate mrjob.conf file to read from')
 opt_group.add_option('--no-conf', dest='conf_paths', action='store_const', const=[], help="Don't load mrjob.conf even if it's available")
 opt_group.add_option('-q', '--quiet', dest='quiet', default=None, action='store_true', help="Don't print anything to stderr")
 opt_group.add_option('-v', '--verbose', dest='verbose', default=None, action='store_true', help='print more messages to stderr')

def _add_basic_options ( opt_group ) : opt_group . add_option ( '-c' , '--conf-path' , dest = 'conf_paths' , action = 'callback' , callback = _append_to_conf_paths , default = None , nargs = 1 , type = 'string' , help = 'Path to alternate mrjob.conf file to read from' ) opt_group . add_option ( '--no-conf' , dest = 'conf_paths' , action = 'store_const' , const = [ ] , help = "Don't load mrjob.conf even if it's available" ) opt_group . add_option ( '-q' , '--quiet' , dest = 'quiet' , default = None , action = 'store_true' , help = "Don't print anything to stderr" ) opt_group . add_option ( '-v' , '--verbose' , dest = 'verbose' , default = None , action = 'store_true' , help = 'print more messages to stderr' )
options for all command line tools .