MCPcopy Create free account
hub / github.com/PABannier/bark.cpp / bark_print_usage

Function bark_print_usage

examples/server/server.cpp:33–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31};
32
33void bark_print_usage(char **argv, const bark_params &params, const server_params &server_params) {
34 fprintf(stderr, "usage: %s [options]\n", argv[0]);
35 fprintf(stderr, "\n");
36 fprintf(stderr, "options:\n");
37 fprintf(stderr, " -h, --help show this help message and exit\n");
38 fprintf(stderr, " -m MODEL, --model MODEL path to model\n");
39 fprintf(stderr, " -t N, --threads N number of threads to use during computation (default: %d)\n", params.n_threads);
40 fprintf(stderr, " -p PORT, --port PORT port number\n");
41 fprintf(stderr, " -a IP, --adress IP ip adress\n");
42 fprintf(stderr, "\n");
43}
44
45void bark_params_parse(int argc, char **argv, bark_params &params, server_params &server_params) {
46 bool model_req = false;

Callers 1

bark_params_parseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected