fix windows build typo

pull/1319/head
jeff 4 years ago
parent 5391e6a66a
commit bbc749294e

@ -326,23 +326,21 @@ lokinet_main(int argc, char* argv[])
"LokiNET is a free, open source, private, " "LokiNET is a free, open source, private, "
"decentralized, \"market based sybil resistant\" " "decentralized, \"market based sybil resistant\" "
"and IP based onion routing network"); "and IP based onion routing network");
options.add_options()("v,verbose", "Verbose", cxxopts::value<bool>())( options.add_options()("v,verbose", "Verbose", cxxopts::value<bool>())
#ifdef _WIN32 #ifdef _WIN32
("install", "install win32 daemon to SCM", cxxopts::value<bool>())( ("install", "install win32 daemon to SCM", cxxopts::value<bool>())(
"remove", "remove win32 daemon from SCM", cxxopts::value<bool>())( "remove", "remove win32 daemon from SCM", cxxopts::value<bool>())(
"win32-daemon", "do not use interactively", cxxopts::value<bool>()) "win32-daemon", "do not use interactively", cxxopts::value<bool>())
#endif #endif
"h,help", ("h,help", "help", cxxopts::value<bool>())("version", "version", cxxopts::value<bool>())(
"help", "g,generate", "generate client config", cxxopts::value<bool>())(
cxxopts::value<bool>())("version", "version", cxxopts::value<bool>())( "r,router", "run as router instead of client", cxxopts::value<bool>())(
"g,generate", "generate client config", cxxopts::value<bool>())( "f,force", "overwrite", cxxopts::value<bool>())(
"r,router", "run as router instead of client", cxxopts::value<bool>())( "c,colour", "colour output", cxxopts::value<bool>()->default_value("true"))(
"f,force", "overwrite", cxxopts::value<bool>())( "b,background",
"c,colour", "colour output", cxxopts::value<bool>()->default_value("true"))( "background mode (start, but do not connect to the network)",
"b,background", cxxopts::value<bool>())(
"background mode (start, but do not connect to the network)", "config", "path to configuration file", cxxopts::value<std::string>());
cxxopts::value<bool>())(
"config", "path to configuration file", cxxopts::value<std::string>());
options.parse_positional("config"); options.parse_positional("config");

Loading…
Cancel
Save