NAME

catgen_parseargs - parse Agent options

SYNOPSIS

#include <cat/gen.h>

int catgen_parseargs(int argc, char **argv);

DESCRIPTION

This utility function parses only the standard Agent option set, and produces error messages to stderr if any errors are detected.

The standard command line options an agent understands are described in catgen.

RETURN VALUES

The function returns 0 if successful, or a suitable program exit code on error.

SEE ALSO

cat, catgen

catgen_getopt