diff --git a/apps/EchoClient.cpp b/apps/EchoClient.cpp index 323de82e71f9420d19947559edd3d8e4cd400284..457d9d5e0211b4ac0eb97f96a3d61b077f5ac7b6 100644 --- a/apps/EchoClient.cpp +++ b/apps/EchoClient.cpp @@ -415,12 +415,19 @@ static auto existsOption(int argc, char** argv, const std::string& option) -> bo } static void printUsage(char* name) { - std::cerr - << "Usage: " << name - << "[-h] [-p <port>] [-c <clients>] [-a <address>] [-s <size>] [-b <server backlog>]" - " [-f <output-file>] [-i <iterations> | -t <execution time in sec>] [--linked-futures]" - " [--coordinator <coordinator-host>" - << std::endl; + std::cerr << "Usage: " << name << " [options]" << std::endl + << " [-h]\tprint this help message" << std::endl + << " [-p <port>]\tport to connect to" << std::endl + << " [-c <clients>]\tnumber of concurrent client connections" << std::endl + << " [-a <address>]\tserver address to connect to" << std::endl + << " [-s <size>]\tsize of each echo message" << std::endl + << " [-b <server backlog>]\tnumber of concurrent connect attempts" << std::endl + << " [-f <output-file>]\tfile to write the results to" << std::endl + << " [-i <iterations> | -t <execution time in sec>]\ttermination conditions" + << std::endl + << " [--linked-futures]\tuse linked futures" << std::endl + << " [--coordinator <coordinator-host>]\tcoordinator address to connect to" + << std::endl; } static void printIp(struct sockaddr* addr) {