From a6b2172e5425d76250f191d1068dbe35391e6b1b Mon Sep 17 00:00:00 2001 From: drouhana <56026339+drouhana@users.noreply.github.com> Date: Tue, 10 Jan 2023 12:37:18 -0800 Subject: [PATCH] Fix accepting config file as positional argument re-add ability to pass .ini path without --config flag --- daemon/lokinet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/lokinet.cpp b/daemon/lokinet.cpp index d9413d693..b431803ef 100644 --- a/daemon/lokinet.cpp +++ b/daemon/lokinet.cpp @@ -377,7 +377,7 @@ namespace 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") + cli.add_option("config,--config", options.configPath, "Path to lokinet.ini configuration file") ->capture_default_str(); if constexpr (llarp::platform::is_windows)