import click


def path_option(func):
    """Option for specifying a path for extraction."""
    return click.option(
        '--path',
        type=str, multiple=True,
        help='Which paths to extract strings from. By default, all paths'
             ' are extracted. This option is useful if you\'d like to'
             ' generate a partial messages file representing just a'
             ' specific set of files.')(func)