mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
options.overwrite and options.force are redundant given refactor. they are now combined
This commit is contained in:
parent
26beebca97
commit
ea740ffd79
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue