mirror of https://github.com/oxen-io/lokinet
rename r flag to router
This commit is contained in:
parent
f5e4d8bd1b
commit
6d91ac8e4e
|
@ -327,20 +327,20 @@ lokinet_main(int argc, char* argv[])
|
|||
"decentralized, \"market based sybil resistant\" "
|
||||
"and IP based onion routing network");
|
||||
options.add_options()("v,verbose", "Verbose", cxxopts::value<bool>())(
|
||||
"h,help", "help", cxxopts::value<bool>())("version", "version", cxxopts::value<bool>())
|
||||
#ifdef _WIN32
|
||||
("install", "install win32 daemon to SCM", cxxopts::value<bool>())(
|
||||
"remove", "remove win32 daemon from SCM", cxxopts::value<bool>())(
|
||||
"win32-daemon", "do not use interactively", cxxopts::value<bool>())
|
||||
#endif
|
||||
("g,generate", "generate client config", cxxopts::value<bool>())(
|
||||
"r,relay", "run as relay instead of client", cxxopts::value<bool>())(
|
||||
"f,force", "overwrite", cxxopts::value<bool>())(
|
||||
"c,colour", "colour output", cxxopts::value<bool>()->default_value("true"))(
|
||||
"b,background",
|
||||
"background mode (start, but do not connect to the network)",
|
||||
cxxopts::value<bool>())(
|
||||
"config", "path to configuration file", cxxopts::value<std::string>());
|
||||
"h,help", "help", cxxopts::value<bool>())("version", "version", cxxopts::value<bool>())(
|
||||
"g,generate", "generate client config", cxxopts::value<bool>())(
|
||||
"r,router", "run as router instead of client", cxxopts::value<bool>())(
|
||||
"f,force", "overwrite", cxxopts::value<bool>())(
|
||||
"c,colour", "colour output", cxxopts::value<bool>()->default_value("true"))(
|
||||
"b,background",
|
||||
"background mode (start, but do not connect to the network)",
|
||||
cxxopts::value<bool>())(
|
||||
"config", "path to configuration file", cxxopts::value<std::string>());
|
||||
|
||||
options.parse_positional("config");
|
||||
|
||||
|
|
Loading…
Reference in New Issue