| 774 | } |
| 775 | |
| 776 | void optionGenerator(const char* text, const char* line, std::vector<std::string>& lc) { |
| 777 | int len = strlen(text); |
| 778 | |
| 779 | for (auto iter = validOptions.begin(); iter != validOptions.end(); ++iter) { |
| 780 | const char* name = (*iter).c_str(); |
| 781 | if (!strncmp(name, text, len)) { |
| 782 | lc.push_back(newCompletion(line, name)); |
| 783 | } |
| 784 | } |
| 785 | } |
| 786 | |
| 787 | namespace fdb_cli { |
| 788 | void arrayGenerator(const char* text, const char* line, const char** options, std::vector<std::string>& lc) { |
no test coverage detected