diff --git a/bob/bio/base/tools/command_line.py b/bob/bio/base/tools/command_line.py index 5ddd715096582754ea6f4ab32bf420c3369371e5..d43a51d5102c9b150e1997240efbc381ef3b4ce2 100644 --- a/bob/bio/base/tools/command_line.py +++ b/bob/bio/base/tools/command_line.py @@ -267,9 +267,7 @@ def check_config_consumed(config): if not keyword.startswith('_') and not keyword.isupper(): attr = getattr(config, keyword) if attr is not None and not inspect.isclass(attr) and not inspect.ismodule(attr): - logger.warn("The variable '%s' in a configuration file is not known or not supported; use all " - "uppercase variable names (e.g., '%s') to suppress this warning.", keyword, - keyword.upper()) + logger.warn("The variable '%s' in a configuration file is not known or not supported by this application; use a '_' prefix to the variable name (e.g., _%s) to suppress this warning", keyword, keyword) def parse_config_file(parsers, args, args_dictionary, keywords, skips):