[#ArgsManager-AddArg] = xref:ArgsManager.adoc[ArgsManager]::AddArg :relfileprefix: ../ :mrdocs: Add argument == Synopsis Declared in `<common/args.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e381ae3a8)]] void AddArg( std::string const& name, std::string const& help, unsigned int flags, xref:OptionsCategory.adoc[OptionsCategory] const& cat); ---- == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#