options.overwrite and options.force are redundant given refactor. they are now combined

This commit is contained in:
dan 2023-01-10 06:35:41 -08:00
parent 26beebca97
commit ea740ffd79

View File

@ -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")