def shared_options(parser):
    """parser is an OptionParser object add the following options to it """
    parser.add_option('-c', '--config', dest='config', help=
        'config module to use standard is osdcquery.config.Tcga', default=
        'osdcquery.config.Tcga')
    parser.add_option('-v', '--verbose', action='store_true', dest=
        'verbose', help='display messages to standard out', default=False)
    parser.add_option('-d', '--log', dest='loglevel', help=
        'python log level DEBUG, INFO ...', default='ERROR')
