summaryrefslogtreecommitdiff
path: root/src/options.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-02-28 09:10:03 +0000
committerChristian Pointner <equinox@anytun.org>2009-02-28 09:10:03 +0000
commit6fa4295768f930a6d1c4a6077a34e7db36dff14e (patch)
treebf9610a0304cc2ab5310d0487cb2688c6b498d61 /src/options.cpp
parentcleanup (diff)
updated manpages
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 ce1a6fa..fda188c 100644
--- a/src/options.cpp
+++ b/src/options.cpp
@@ -342,7 +342,7 @@ bool Options::parse(int argc, char* argv[])
PARSE_INVERSE_BOOL_PARAM("-D","--nodaemonize", daemonize_)
PARSE_SCALAR_PARAM("-u","--username", username_)
PARSE_SCALAR_PARAM("-g","--groupname", groupname_)
- PARSE_SCALAR_PARAM("-C","--chroot-dir", chroot_dir_)
+ PARSE_SCALAR_PARAM("-C","--chroot", chroot_dir_)
PARSE_SCALAR_PARAM("-P","--write-pid", pid_file_)
#endif
@@ -461,7 +461,7 @@ void Options::printUsage()
std::cout << " [-D|--nodaemonize] don't run in background" << std::endl;
std::cout << " [-u|--username] <username> change to this user" << std::endl;
std::cout << " [-g|--groupname] <groupname> change to this group" << std::endl;
- std::cout << " [-C|--chroot-dir] <path> chroot to this directory" << std::endl;
+ std::cout << " [-C|--chroot] <path> chroot to this directory" << std::endl;
std::cout << " [-P|--write-pid] <path> write pid to this file" << std::endl;
#endif