def find_options(filename):
    """
    Grab all of the ini style options in a specified file (ignoring sections)
    """
    with open(filename) as fp:
        text = [
            line for line in fp.readlines()
            if not line.startswith('#')
            if '=' in line
            ]
        return sorted(list(set(opt.split()[0] for opt in text)))