summaryrefslogtreecommitdiff
path: root/src/c
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2015-08-20 15:11:40 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2015-08-20 15:11:40 -0400
commitb1e5269ffae4cc185a1ca211f16c2a9f00531896 (patch)
tree6b1244adc92aa2a1f47d751efc7083c9b6c7c5c2 /src/c
parent7e3c1da2612b1f618611313bb1b1fbc9fcc3d82d (diff)
Beautify '-h' output for web servers
Diffstat (limited to 'src/c')
-rw-r--r--src/c/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c/http.c b/src/c/http.c
index e6c7b1af..9059746f 100644
--- a/src/c/http.c
+++ b/src/c/http.c
@@ -314,7 +314,7 @@ static void *worker(void *data) {
}
static void help(char *cmd) {
- printf("Usage: %s [-p <port>] [-a <IP address>] [-t <thread count>] [-k] [-q] [-T SEC]\nThe '-k' option turns on HTTP keepalive.\nThe '-q' option turns off some chatter on stdout.\nThe -T option sets socket recv timeout (0 disables timeout, default is 5 sec)", cmd);
+ printf("Usage: %s [-p <port>] [-a <IP address>] [-t <thread count>] [-k] [-q] [-T SEC]\nThe '-k' option turns on HTTP keepalive.\nThe '-q' option turns off some chatter on stdout.\nThe '-T' option sets socket recv timeout (0 disables timeout, default is 5 sec).\n", cmd);
}
static void sigint(int signum) {