Home
last modified time | relevance | path

Searched refs:argListIndex (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/ability/ability_runtime/tools/aa/src/
H A Dability_tool_command.cpp472 int argListIndex = optind - ARG_LIST_INDEX_OFFSET; in GetKeyAndValueByOpt() local
473 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()