Parse the command-line arguments in argv of length argc.
Declared in <balcl_commandline.h>
int
parse(
int argc,
char const const* argv[],
std::ostream& errorStream);
Write any error message to the specified errorStream. Return 0 on success, and a non-zero value otherwise.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| argc | length of the argv array |
| argv | array of command-line argument strings |
| errorStream | stream to which parse errors are written |