[#ArgsManager-CheckCommandOptions] = xref:ArgsManager.adoc[ArgsManager]::CheckCommandOptions :relfileprefix: ../ :mrdocs: Check that any command‐specific options the user specified are valid for the given command. == Synopsis Declared in `<common/args.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e381ac828)]] bool CheckCommandOptions( std::string const& command, std::vector<std::string>* errors = nullptr) const; ---- == Return Value false if any command‐specific options were specified that are not valid for this command == Parameters [cols="1,4"] |=== | Name| Description | *command* [in] | The command being run. | *errors* [out] | If non‐null, populated with a message for each invalid option. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#