Set a boolean argument if it doesn't already have a value

Synopsis

Declared in <common/args.h>

[[requires_capability(0x7f2e381adea8)]]
bool
SoftSetBoolArg(
    std::string const& strArg,
    bool fValue);

Return Value

true if argument gets set, false if it already had a value

Parameters

Name

Description

strArg

Argument to set (e.g. "‐foo")

fValue

Value (e.g. false)

Created with MrDocs