diff options
author | Christian Pointner <equinox@anytun.org> | 2010-02-06 16:03:13 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2010-02-06 16:03:13 +0000 |
commit | 2b3a72143af34177543c8542ccd57866d78cb275 (patch) | |
tree | d05800530d3c9f0d15a44869c1cf4c0c5d9f9894 /src/options.cpp | |
parent | removed Doxygen config (diff) |
removed NO_EXEC
added NOMINMAX to windows build targets
Diffstat (limited to 'src/options.cpp')
-rw-r--r-- | src/options.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/options.cpp b/src/options.cpp index c393c9f..6458621 100644 --- a/src/options.cpp +++ b/src/options.cpp @@ -428,9 +428,7 @@ bool Options::parse(int argc, char* argv[]) PARSE_SCALAR_PARAM("-d","--dev", dev_name_, NOTHING) PARSE_SCALAR_PARAM("-t","--type", dev_type_, NOTHING) PARSE_SCALAR_PARAM("-n","--ifconfig", ifconfig_param_, NOTHING) - #ifndef NO_EXEC PARSE_SCALAR_PARAM("-x","--post-up-script", post_up_script_, NOTHING) - #endif #endif #if defined(ANYTUN_OPTIONS) || defined(ANYCONF_OPTIONS) @@ -607,9 +605,7 @@ void Options::printUsage() std::cout << " [-d|--dev] <name> device name" << std::endl; std::cout << " [-t|--type] <tun|tap> device type" << std::endl; std::cout << " [-n|--ifconfig] <local>/<prefix> the local address for the tun/tap device and the used prefix length" << std::endl; - #ifndef NO_EXEC std::cout << " [-x|--post-up-script] <script> script gets called after interface is created" << std::endl; - #endif #endif #if defined(ANYTUN_OPTIONS) || defined(ANYCONF_OPTIONS) |