def _add_boolean_cli_param(params, key, value):
    if value is True:
        params.append('--{0}'.format(key))
Adds key as a command line parameter to params.
dataset/ETHPy150Open saltstack/salt/salt/modules/syslog_ng.py/_add_boolean_cli_param