import click


def reverse_option(func):
    """Option for reversing the result items."""
    return click.option(
        '--reverse', 'reverse_order', is_flag=True, default=False, help="Show selections in reverse."
    )(func)