diff options
Diffstat (limited to 'src/io/cli.c')
| -rw-r--r-- | src/io/cli.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/io/cli.c b/src/io/cli.c index d98a0c0..65524c9 100644 --- a/src/io/cli.c +++ b/src/io/cli.c @@ -88,7 +88,7 @@ struct argp_option cli_options[] = { {0, 0, 0, 0, "Other:", 5}, {"data-dir", OPT_DATADIR, "DIR", 0, "Set PARI/GP data directory (containing seadata package).", 5}, {"memory", OPT_MEMORY, "SIZE", 0, "Use PARI stack of SIZE (can have suffix k/m/g).", 5}, - {"threads", OPT_THREADS, "NUM", 0, "Use NUM threads.", 5}, + {"threads", OPT_THREADS, "NUM", 0, "Use NUM threads (in PARI or invalid generation).", 5}, {"thread-stack", OPT_TSTACK, "SIZE", 0, "Use PARI stack of SIZE (per thread, can have suffix k/m/g).", 5}, {"timeout", OPT_TIMEOUT, "TIME", 0, "Timeout computation of a curve parameter after TIME (can have suffix s/m/h/d).", 5}, {0} @@ -97,7 +97,7 @@ struct argp_option cli_options[] = { static regex_t re_cm_order; -bool cli_init() { +bool cli_init(void) { int error = regcomp( &re_cm_order, "((0[xX][0-9a-fA-F]+)|([0-9]+))(,((0[xX][0-9a-fA-F]+)|([0-9]+)))*", @@ -540,4 +540,4 @@ char *cli_filter(int key, const char *text, void *input) { return (char *)text; } -void cli_quit() { regfree(&re_cm_order); } +void cli_quit(void) { regfree(&re_cm_order); } |
