Cleaned up help text
This commit is contained in:
parent
2b3cc9833a
commit
913e5dc5b6
@ -134,6 +134,7 @@ static struct option longopts[] = {
|
|||||||
{"send-buffer", required_argument, (int *) ¶m.send_buffer_size, 0},
|
{"send-buffer", required_argument, (int *) ¶m.send_buffer_size, 0},
|
||||||
{"server", required_argument, (int *) ¶m.server, 0},
|
{"server", required_argument, (int *) ¶m.server, 0},
|
||||||
{"server-name", required_argument, (int *) ¶m.server_name, 0},
|
{"server-name", required_argument, (int *) ¶m.server_name, 0},
|
||||||
|
{"uri", required_argument, (int *) ¶m.uri, 0},
|
||||||
{"session-cookies", no_argument, (int *) ¶m.session_cookies, 1},
|
{"session-cookies", no_argument, (int *) ¶m.session_cookies, 1},
|
||||||
#ifdef HAVE_SSL
|
#ifdef HAVE_SSL
|
||||||
{"ssl", no_argument, ¶m.use_ssl, 1},
|
{"ssl", no_argument, ¶m.use_ssl, 1},
|
||||||
@ -142,7 +143,6 @@ static struct option longopts[] = {
|
|||||||
#endif
|
#endif
|
||||||
{"think-timeout", required_argument, (int *) ¶m.think_timeout, 0},
|
{"think-timeout", required_argument, (int *) ¶m.think_timeout, 0},
|
||||||
{"timeout", required_argument, (int *) ¶m.timeout, 0},
|
{"timeout", required_argument, (int *) ¶m.timeout, 0},
|
||||||
{"uri", required_argument, (int *) ¶m.uri, 0},
|
|
||||||
{"use-timer-cache", no_argument, ¶m.use_timer_cache, 1},
|
{"use-timer-cache", no_argument, ¶m.use_timer_cache, 1},
|
||||||
{"verbose", no_argument, 0, 'v'},
|
{"verbose", no_argument, 0, 'v'},
|
||||||
{"version", no_argument, 0, 'V'},
|
{"version", no_argument, 0, 'V'},
|
||||||
@ -162,20 +162,18 @@ usage(void)
|
|||||||
"\t[--close-with-reset] [--debug N] [--failure-status N]\n"
|
"\t[--close-with-reset] [--debug N] [--failure-status N]\n"
|
||||||
"\t[--help] [--hog] [--http-version S] [--max-connections N]\n"
|
"\t[--help] [--hog] [--http-version S] [--max-connections N]\n"
|
||||||
"\t[--max-piped-calls N] [--method S] [--no-host-hdr]\n"
|
"\t[--max-piped-calls N] [--method S] [--no-host-hdr]\n"
|
||||||
"\t[--num-calls N] [--num-conns N] [--period [d|u|e]T1[,T2]]\n"
|
"\t[--num-calls N] [--num-conns N] [--session-cookies]\n"
|
||||||
"\t[--port N] "
|
"\t[--period [d|u|e]T1[,T2]|[v]T1,D1[,T2,D2]...[,Tn,Dn]\n"
|
||||||
"[--print-reply [header|body]] [--print-request [header|body]]\n"
|
"\t[--print-reply [header|body]] [--print-request [header|body]]\n"
|
||||||
"\t[--rate X] [--recv-buffer N] [--retry-on-failure] "
|
"\t[--rate X] [--recv-buffer N] [--retry-on-failure] "
|
||||||
"[--send-buffer N]\n"
|
"[--send-buffer N]\n"
|
||||||
"\t[--server S] [--server-name S] [--session-cookies]\n"
|
"\t[--server S] [--server-name S] [--port N] [--uri S] \n"
|
||||||
#ifdef HAVE_SSL
|
#ifdef HAVE_SSL
|
||||||
"\t[--ssl] [--ssl-ciphers L] [--ssl-no-reuse]\n"
|
"\t[--ssl] [--ssl-ciphers L] [--ssl-no-reuse]\n"
|
||||||
#endif
|
#endif
|
||||||
"\t[--think-timeout X] [--timeout X] [--uri S] [--verbose] "
|
"\t[--think-timeout X] [--timeout X] [--verbose] [--version]\n"
|
||||||
"[--version]\n"
|
|
||||||
"\t[--wlog y|n,file] [--wsess N,N,X] [--wsesslog N,X,file]\n"
|
"\t[--wlog y|n,file] [--wsess N,N,X] [--wsesslog N,X,file]\n"
|
||||||
"\t[--wset N,X]\n"
|
"\t[--wset N,X]\n"
|
||||||
"\t[--period [v]T1,D1[,T2,D2]\n"
|
|
||||||
"\t[--use-timer-cache]\n", prog_name);
|
"\t[--use-timer-cache]\n", prog_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user