Get setting value.
Declared in <common/args.h>
[[requires_capability(0x7f2e381abc08)]]
common::SettingsValue
GetSetting(std::string const& arg) const;
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.
The setting value, or a null value if unset.
| Name | Description |
|---|---|
| arg | The setting name to get (e.g. "-foo"). |