BloombergLP::balcl::CommandLine::parse

Parse the command-line arguments contained in the array starting at the specified argv having the specified argc length, writing any error message to the specified errorStream. Return 0 on success, and a non-zero value otherwise.

Synopsis

Declared in <balcl_commandline.h>

int
parse(
    int argc,
    char const const* argv[],
    std::ostream& errorStream);