From 4caa8ce1267d6d78587c713e9b8d84e6e2830df7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com> Date: Sun, 18 Oct 2015 00:50:48 -0400 Subject: [PATCH] dhtnode: improve help messages --- tools/dhtnode.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/dhtnode.cpp b/tools/dhtnode.cpp index a340924d..440db3bf 100644 --- a/tools/dhtnode.cpp +++ b/tools/dhtnode.cpp @@ -39,7 +39,7 @@ extern "C" { using namespace dht; void print_usage() { - std::cout << "Usage: dhtnode [-p local_port] [-b bootstrap_host]" << std::endl << std::endl; + std::cout << "Usage: dhtnode [-p local_port] [-b bootstrap_host:port]" << std::endl << std::endl; std::cout << "dhtnode, a simple OpenDHT command line node runner." << std::endl; std::cout << "Report bugs to: http://opendht.net" << std::endl; } @@ -61,7 +61,7 @@ void print_help() { std::cout << "Possible commands:" << std::endl << " h, help Print this help message." << std::endl << " q, quit Quit the program." << std::endl - << " log Print the full DHT log." << std::endl; + << " log Start/stop printing DHT logs." << std::endl; std::cout << std::endl << "Node information:" << std::endl << " ll Print basic information and stats about the current node." << std::endl -- GitLab