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

Synopsis

Declared in <common/args.h>

[[requires_capability(0x7f2e381add68)]]
bool
SoftSetArg(
    std::string const& strArg,
    std::string const& strValue);

Return Value

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

Parameters

Name

Description

strArg

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

strValue

Value (e.g. "1")

Created with MrDocs