PARSE_NEXT_ITEM_STATUS_OK = 0,
PARSE_NEXT_ITEM_STATUS_END = 1,
PARSE_NEXT_ITEM_STATUS_ERROR = -1,
PARSE_NEXT_ITEM_STATUS_OK = 0,
PARSE_NEXT_ITEM_STATUS_END = 1,
PARSE_NEXT_ITEM_STATUS_ERROR = -1,
*
* If `unknown_opt_is_error` is true, an unknown option is considered an error.
* Otherwise, it is considered as the end of the argument list.
*
* If `unknown_opt_is_error` is true, an unknown option is considered an error.
* Otherwise, it is considered as the end of the argument list.
enum parse_next_item_status parse_next_item(struct argpar_iter *iter,
const struct argpar_item **item, int argc_offset,
const char **argv, bool unknown_opt_is_error,
enum parse_next_item_status parse_next_item(struct argpar_iter *iter,
const struct argpar_item **item, int argc_offset,
const char **argv, bool unknown_opt_is_error,