Function rcutils_cli_option_exist
Defined in File cmdline_parser.h
Function Documentation
-
bool rcutils_cli_option_exist(char **begin, char **end, const char *option)
Return
true
if the option is defined in the command line arguments orfalse
otherwise.- Parameters:
begin – [in] first element to check in the array
end – [in] last element to check in the array
option – [in] string to find in the array of arguments
- Returns:
true
if the option exists, or- Returns:
false
otherwise.