Searched refs:argListIndex (Results 1 – 1 of 1) sorted by relevance
472 int argListIndex = optind - ARG_LIST_INDEX_OFFSET; in GetKeyAndValueByOpt() local473 if (argListIndex < 1) { in GetKeyAndValueByOpt()477 …bool isOption = (argList_[argListIndex - 1] == "-o" || argList_[argListIndex - 1] == "--options") … in GetKeyAndValueByOpt()478 int keyIndex = isOption ? argListIndex : argListIndex - 1; in GetKeyAndValueByOpt()479 int valueIndex = isOption ? argListIndex + 1 : argListIndex; in GetKeyAndValueByOpt()