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