summaryrefslogtreecommitdiff
path: root/src/options.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-11-25 14:08:42 +0000
committerChristian Pointner <equinox@anytun.org>2008-11-25 14:08:42 +0000
commit041985d1488f81ba1cc060721eb5290fdc52dd0a (patch)
tree1cd49c714544ef4237400cd075b537e317ad0560 /src/options.cpp
parentoptions parser support ipv6 now (diff)
updated manpages
some cleanups
Diffstat (limited to 'src/options.cpp')
-rw-r--r--src/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/options.cpp b/src/options.cpp
index 1a40f59..4bf4ef7 100644
--- a/src/options.cpp
+++ b/src/options.cpp
@@ -270,9 +270,9 @@ void Options::printUsage()
std::cout << " [-p|--port] <port> local anycast(data) port to bind to" << std::endl;
std::cout << " [-I|--sync-interface] <ip-address> local unicast(sync) ip address to bind to" << std::endl;
std::cout << " [-S|--sync-port] <port> local unicast(sync) port to bind to" << std::endl;
- std::cout << " [-M|--sync-hosts] <hostname|ip>:<port>[,<hostname|ip>:<port>[...]]"<< std::endl;
+ std::cout << " [-M|--sync-hosts] <hostname|ip>[:<port>][,<hostname|ip>[:<port>][...]]"<< std::endl;
std::cout << " remote hosts to sync with" << std::endl;
- std::cout << " [-X|--control-host] <hostname|ip>:<port>"<< std::endl;
+ std::cout << " [-X|--control-host] <hostname|ip>[:<port>]"<< std::endl;
std::cout << " fetch the config from this host" << std::endl;
std::cout << " [-r|--remote-host] <hostname|ip> remote host" << std::endl;
std::cout << " [-o|--remote-port] <port> remote port" << std::endl;