def _config_hint_generate(optname, both_env_and_param):
env = optname.replace('<STR_LIT:->', '<STR_LIT:_>').upper()<EOL>if both_env_and_param:<EOL><INDENT>option = '<STR_LIT>' + optname.lower()<EOL>return ('<STR_LIT>'<EOL>.format(option, env))<EOL><DEDENT>else:<EOL><INDENT>return '<STR_LIT>'.format(env)<EOL><DEDENT>
Generate HINT language for missing configuration