Return boolean argument or default value

Synopsis

Declared in <common/args.h>

[[requires_capability(0x7f2e381adae8)]]
bool
GetBoolArg(
    std::string const& strArg,
    bool fDefault) const;

Return Value

command‐line argument or default value

Parameters

Name

Description

strArg

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

fDefault

(true or false)

Created with MrDocs