|
|
@ -33,7 +33,6 @@ namespace
|
|
|
|
bool version = false;
|
|
|
|
bool version = false;
|
|
|
|
bool generate = false;
|
|
|
|
bool generate = false;
|
|
|
|
bool router = false;
|
|
|
|
bool router = false;
|
|
|
|
bool force = false;
|
|
|
|
|
|
|
|
bool config = false;
|
|
|
|
bool config = false;
|
|
|
|
bool configOnly = false;
|
|
|
|
bool configOnly = false;
|
|
|
|
bool overwrite = false;
|
|
|
|
bool overwrite = false;
|
|
|
@ -375,7 +374,7 @@ namespace
|
|
|
|
cli.add_flag("-g,--generate", options.generate, "Generate default configuration and exit");
|
|
|
|
cli.add_flag("-g,--generate", options.generate, "Generate default configuration and exit");
|
|
|
|
cli.add_flag(
|
|
|
|
cli.add_flag(
|
|
|
|
"-r,--router", options.router, "Run lokinet in routing mode instead of client-only mode");
|
|
|
|
"-r,--router", options.router, "Run lokinet in routing mode instead of client-only mode");
|
|
|
|
cli.add_flag("-f,--force", options.force, "Force writing config even if file exists");
|
|
|
|
cli.add_flag("-f,--force", options.overwrite, "Force writing config even if file exists");
|
|
|
|
|
|
|
|
|
|
|
|
// options: string
|
|
|
|
// options: string
|
|
|
|
cli.add_option("--config", options.configPath, "Path to lokinet.ini configuration file")
|
|
|
|
cli.add_option("--config", options.configPath, "Path to lokinet.ini configuration file")
|
|
|
|