Skip to main content

config_help

Function config_help 

Source
pub(crate) fn config_help(
    args: &Args,
    tr: &Translations,
    key: &str,
    arg: &str,
) -> String
Expand description

What Config::hint has to add to a config error, as a suffix of its message: the nearest path (a misspelt --set path) or the value of the refused one. The config is built again for it, with the assignments that apply; an empty suffix where there is nothing to add or the config cannot be built.