From 98028c8d0a2815ee4c94ce031ecfcc1f87f3c718 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Tue, 7 Jun 2022 11:29:16 +0200 Subject: [PATCH] DEV: tcploop: reorder options in the usage message Options have become difficult to find, let's reorder them alphabetically. --- dev/tcploop/tcploop.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/dev/tcploop/tcploop.c b/dev/tcploop/tcploop.c index c7cec6f68c..f13ceebe54 100644 --- a/dev/tcploop/tcploop.c +++ b/dev/tcploop/tcploop.c @@ -97,31 +97,31 @@ __attribute__((noreturn)) void usage(int code, const char *arg0) " -v : verbose\n" " -t|-tt|-ttt : show time (msec / relative / absolute)\n" "actions :\n" - " L[] : Listens to ip:port and optionally sets backlog\n" - " Note: fd=socket,bind(fd),listen(fd)\n" + " A[] : Accepts incoming sockets and closes count-1\n" + " Note: fd=accept(fd)\n" " C : Connects to ip:port\n" " Note: fd=socket,connect(fd)\n" " D : Disconnect (connect to AF_UNSPEC)\n" - " A[] : Accepts incoming sockets and closes count-1\n" - " Note: fd=accept(fd)\n" + " E[] : Echo this amount of bytes. 0=infinite. unset=any amount.\n" + " F : FIN : shutdown(SHUT_WR)\n" + " G : disable lingering\n" + " I : wait for Input data to be present (POLLIN)\n" " J : Jump back to oldest post-fork/post-accept action\n" " K : kill the connection and go on with next operation\n" - " G : disable lingering\n" - " T : set TCP_NODELAY\n" + " L[] : Listens to ip:port and optionally sets backlog\n" + " Note: fd=socket,bind(fd),listen(fd)\n" + " N : fork New process, limited to concurrent (default 1)\n" + " O : wait for Output queue to be empty (POLLOUT + TIOCOUTQ)\n" + " P[