Skip to main content

setting_entry

Function setting_entry 

Source
pub fn setting_entry(
    name: &str,
    lookup: impl Fn(&str) -> Option<String>,
) -> Option<(String, String)>
Expand description

As setting, and also which spelling supplied it.

The name matters to anything that reports back: telling someone their USAGECLI_SHELL_BASH could not be started, when what they set was USAGE_SHELL_BASH, sends them looking at a variable they never touched.