Add argument

Synopsis

Declared in <common/args.h>

[[requires_capability(0x7f2e381ae3a8)]]
void
AddArg(
    std::string const& name,
    std::string const& help,
    unsigned int flags,
    OptionsCategory const& cat);

Parameters

Name

Description

name

Argument name including any parameter (e.g. "‐foo=<n>").

help

Help text describing the argument.

flags

Flags controlling validation and interpretation.

cat

Help category the argument belongs to.

Created with MrDocs