ArgsManager::ForceSetArg

Forces an arg setting. Called by SoftSetArg() if the arg hasn't already been set. Also called directly in testing.

Synopsis

Declared in <common/args.h>

[[requires_capability(0x7f2e381adfe8)]]
void
ForceSetArg(
    std::string const& strArg,
    std::string const& strValue);

Parameters

NameDescription
strArgArgument to set (e.g. "-foo").
strValueValue to force the argument to.