[#ArgsManager-AddCommand]
= xref:ArgsManager.adoc[ArgsManager]::AddCommand
:relfileprefix: ../
:mrdocs:

Add command

== Synopsis

Declared in `&lt;common&sol;args&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e381ae4e8)&rsqb;&rsqb;
void
AddCommand(
    std::string const& cmd,
    std::string const& help,
    std::set&lt;std::string&gt; options = &lcub;&rcub;);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cmd*
| The command name to register&period;
| *help*
| Help text describing the command&period;
| *options*
| Names of options valid for this command&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
