

def parse_options(args):
    global options
    parser = OptionParser(usage='%prog [options]')
    parser.add_option('--database-type', dest='db_type', default='sqlite3', help='Database type (postgresql, mysql, sqlite3)')
    parser.add_option('--database-name', dest='db_name', default='reviewboard.db', help='Database name (or path, for sqlite3)')
    options.add_option('--database-user', dest='db_user', default='', help='Database user')
    parser.add_option('--database-password', dest='db_password', default='', help='Database password')
    (options, args) = parser.parse_args(args)
    return args

dataset/ETHPy150Open reviewboard/reviewboard/contrib/internal/test-upgrade.py parse_options/VarMisuse@60/123 `parser`->`options`