Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
Darguments_parser.cpp61 for (const auto &argSpec : mArgumentSpecs) { in printUsage() local
62 if (argSpec.getMinCount() == 0 && argSpec.getMaxCount() == 1) { in printUsage()
63 printf(" [<%s>]", argSpec.getName().c_str()); in printUsage()
64 } else if (argSpec.getMinCount() == 1 && argSpec.getMaxCount() == 1) { in printUsage()
65 printf(" <%s>", argSpec.getName().c_str()); in printUsage()
66 } else if (argSpec.getMinCount() == 0) { in printUsage()
67 printf(" [<%s>...]", argSpec.getName().c_str()); in printUsage()
68 } else if (argSpec.getMinCount() == 1) { in printUsage()
69 printf(" <%s>...", argSpec.getName().c_str()); in printUsage()
86 for (const auto &argSpec : mArgumentSpecs) { in printUsage() local
[all …]