def main():  # pragma: no cover
    """Simple tests."""
    opts = [
        Option('--foo'),
        Option('--bar'),
        Option('--baz'),
        Option('--key', group='secret', mutually_exclusive=True),
        Option('--key-file', group='secret', mutually_exclusive=True),
        Option('--key-thing', group='secret'),
        Option('--this', group='things'),
        Option('--who', group='group of its own'),
        #  Option('--more', mutually_exclusive=True),  # should fail
        Option('--more', mutually_exclusive=True, dest='more'),  # should be ok
        Option('--less', mutually_exclusive=True, dest='more'),  # should be ok
    ]
    myconf = Config(options=opts)
    if len(sys.argv) == 1:
        sys.argv.append('--help')
    myconf.parse()
Simple tests.