import click


def service_option(func):
    """Option for configuring the transltor service to use."""
    return click.option('--service', '-s', type=str,
                        help='Name of the translator service to use. This option is'
                        ' only required if more than one service is configured.')(func)