| 159 | struct GetCmdLineOptsCmd { |
| 160 | static const char* name; |
| 161 | static Future<Reference<ExtMsgReply>> call(Reference<ExtConnection> nmc, |
| 162 | Reference<ExtMsgQuery> query, |
| 163 | Reference<ExtMsgReply> reply) { |
| 164 | // clang-format off |
| 165 | reply->addDocument(BSON("argv" << BSON_ARRAY("fdbdoc") << |
| 166 | "ok" << 1.0)); |
| 167 | // clang-format on |
| 168 | |
| 169 | return Future<Reference<ExtMsgReply>>(reply); |
| 170 | } |
| 171 | }; |
| 172 | REGISTER_CMD(GetCmdLineOptsCmd, "getcmdlineopts"); |
| 173 |
nothing calls this directly
no test coverage detected