ArgsManager::GetSetting

Get setting value.

Synopsis

Declared in <common/args.h>

[[requires_capability(0x7f2e381abc08)]]
common::SettingsValue
GetSetting(std::string const& arg) const;

Description

Result will be null if setting was unset, true if "-setting" argument was passed false if "-nosetting" argument was passed, and a string if a "-setting=value" argument was passed.

Return Value

The setting value, or a null value if unset.

Parameters

NameDescription
argThe setting name to get (e.g. "-foo").