Skip to main content

config_key_unknown

Function config_key_unknown 

Source
pub fn config_key_unknown(key: &str, suggestion: Option<&str>) -> String
Expand description

Rejects a config set key that is not in the canonical registry.

suggestion carries the nearest known key when one is similar enough, so a typo is actionable without the operator listing every key.