From ea740ffd79dcdb971d62c3c3738a068f419c0834 Mon Sep 17 00:00:00 2001 From: dan Date: Tue, 10 Jan 2023 06:35:41 -0800 Subject: [PATCH] options.overwrite and options.force are redundant given refactor. they are now combined --- daemon/lokinet.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/daemon/lokinet.cpp b/daemon/lokinet.cpp index 76587130c..d9413d693 100644 --- a/daemon/lokinet.cpp +++ b/daemon/lokinet.cpp @@ -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")