MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / print_usage

Function print_usage

tools/rpc/rpc-server.cpp:180–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178};
179
180static void print_usage(int /*argc*/, char ** argv, rpc_server_params params) {
181 fprintf(stderr, "Usage: %s [options]\n\n", argv[0]);
182 fprintf(stderr, "options:\n");
183 fprintf(stderr, " -h, --help show this help message and exit\n");
184 fprintf(stderr, " -t, --threads N number of threads for the CPU device (default: %d)\n", params.n_threads);
185 fprintf(stderr, " -d, --device <dev1,dev2,...> comma-separated list of devices\n");
186 fprintf(stderr, " -H, --host HOST host to bind to (default: %s)\n", params.host.c_str());
187 fprintf(stderr, " -p, --port PORT port to bind to (default: %d)\n", params.port);
188 fprintf(stderr, " -c, --cache enable local file cache\n");
189 fprintf(stderr, "\n");
190}
191
192static bool rpc_server_params_parse(int argc, char ** argv, rpc_server_params & params) {
193 std::string arg;

Callers 1

rpc_server_params_parseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected