X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fstatsd-tg.c;h=9ab324ff08c21178964fee5803a6cd46f43aef41;hb=b7e0293c739c52a7a018312ea949fbb6b37a1214;hp=3f792f7e07fd1458b194b9c3dfcf2a59e12ae932;hpb=ed8d2da828af11d986c7615a14c8d72f48d3f7f7;p=statsd-tg.git diff --git a/src/statsd-tg.c b/src/statsd-tg.c index 3f792f7..9ab324f 100644 --- a/src/statsd-tg.c +++ b/src/statsd-tg.c @@ -86,6 +86,7 @@ static void exit_usage (int exit_status) /* {{{ */ " (Default: "DEF_NODE")\n" " -D Destination port of the network packets.\n" " (Default: "DEF_SERVICE")\n" + " -T Number of threads to use to generate load.\n" " -h Print usage information (this output).\n" "\n" "Copyright (C) 2013 Florian Forster\n" @@ -248,7 +249,7 @@ static int read_options (int argc, char **argv) /* {{{ */ conf_threads_num = (int) sysconf (_SC_NPROCESSORS_ONLN); #endif - while ((opt = getopt (argc, argv, "c:t:g:s:S:d:D:h")) != -1) + while ((opt = getopt (argc, argv, "c:t:g:s:S:d:D:T:h")) != -1) { switch (opt) {