Check that any command‐specific options the user specified are valid for the given command.
Synopsis
Declared in <common/args.h>
[[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
Name |
Description |
command [in] |
The command being run. |
errors [out] |
If non‐null, populated with a message for each invalid option. |
Created with MrDocs