mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-15 12:13:24 +00:00
options.overwrite and options.force are redundant given refactor. they are now combined
This commit is contained in:
parent
26beebca97
commit
ea740ffd79
@ -33,7 +33,6 @@ namespace
|
||||
bool version = false;
|
||||
bool generate = false;
|
||||
bool router = false;
|
||||
bool force = false;
|
||||
bool config = false;
|
||||
bool configOnly = false;
|
||||
bool overwrite = false;
|
||||
@ -375,7 +374,7 @@ namespace
|
||||
cli.add_flag("-g,--generate", options.generate, "Generate default configuration and exit");
|
||||
cli.add_flag(
|
||||
"-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
|
||||
cli.add_option("--config", options.configPath, "Path to lokinet.ini configuration file")
|
||||
|
Loading…
Reference in New Issue
Block a user