summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-04-11 13:51:34 +0000
committerOthmar Gsenger <otti@anytun.org>2008-04-11 13:51:34 +0000
commiteb39dede34b0b7bcae1c54d91add878f4ce6faf3 (patch)
treead24f98a0022c42583dfa28c0f21ae9e5743afbc
parentstarting work on init script (diff)
fixed anytun-config help text
-rw-r--r--anyctrOptions.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/anyctrOptions.cpp b/anyctrOptions.cpp
index 54021d3..d6b0689 100644
--- a/anyctrOptions.cpp
+++ b/anyctrOptions.cpp
@@ -52,7 +52,7 @@ Options& Options::instance()
Options::Options() : key_(u_int32_t(0)), salt_(u_int32_t(0))
{
- progname_ = "anyctr";
+ progname_ = "anytun-config";
remote_addr_ = "";
remote_port_ = 4444;
ifconfig_param_remote_netmask_ = "255.255.255.0";
@@ -170,7 +170,8 @@ bool Options::parse(int argc, char* argv[])
void Options::printUsage()
{
std::cout << "USAGE:" << std::endl;
- std::cout << "anyctr [-h|--help] prints this..." << std::endl;
+ std::cout << "anytun-config" << std::endl;
+ std::cout << " [-h|--help] prints this..." << std::endl;
std::cout << " [-r|--remote-host] <hostname|ip> remote host" << std::endl;
std::cout << " [-o|--remote-port] <port> remote port" << std::endl;
std::cout << " [-n|--prefix] <remote net> remote subnet for route" << std::endl;