summaryrefslogtreecommitdiff
path: root/src/options.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-01-02 14:53:30 +0000
committerChristian Pointner <equinox@anytun.org>2009-01-02 14:53:30 +0000
commit1eb9f3816376de7959e2ac7bd526510da4033b3d (patch)
tree33b28579054970e8d6c1e0ccc4f960efc6be605b /src/options.cpp
parentallways write exceptions to log (diff)
changed -R|--route to -T|--route because -R was already taken
added a file containing all used letters for command line
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 ff09229..9c3c9ea 100644
--- a/src/options.cpp
+++ b/src/options.cpp
@@ -188,7 +188,7 @@ bool Options::parse(int argc, char* argv[])
PARSE_SCALAR_PARAM("-a","--auth-algo", auth_algo_)
PARSE_CSLIST_PARAM("-M","--sync-hosts", host_port_queue)
PARSE_CSLIST_PARAM("-X","--control-host", host_port_queue)
- PARSE_CSLIST_PARAM("-R","--route", route_queue)
+ PARSE_CSLIST_PARAM("-T","--route", route_queue)
else
return false;
}
@@ -309,7 +309,7 @@ void Options::printUsage()
std::cout << " [-A|--salt] <master salt> master salt to use for encryption" << std::endl;
// std::cout << " [-k|--kd-prf] <kd-prf type> key derivation pseudo random function" << std::endl;
std::cout << " [-a|--auth-algo] <algo type> message authentication algorithm" << std::endl;
- std::cout << " [-R|--route] <net>/<prefix length> add a route to connection, can be invoked several times" << std::endl;
+ std::cout << " [-T|--route] <net>/<prefix length> add a route to connection, can be invoked several times" << std::endl;
}
void Options::printOptions()