From b9c0ab0a0476f23ebdc797bf950b903f8d153795 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Thu, 18 Jul 2024 10:10:23 +0200 Subject: cli: Make info_file type consistent Both the serve and execution servers store the info_file and pid_file as strings, to be used for reading via std::ofstream. Read info_file then also as string, like pid_file is. --- src/buildtool/common/cli.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buildtool/common/cli.hpp') diff --git a/src/buildtool/common/cli.hpp b/src/buildtool/common/cli.hpp index d136756d..de33b038 100644 --- a/src/buildtool/common/cli.hpp +++ b/src/buildtool/common/cli.hpp @@ -170,7 +170,7 @@ struct ServerAuthArguments { struct ServiceArguments { std::optional port{std::nullopt}; - std::optional info_file{std::nullopt}; + std::optional info_file{std::nullopt}; std::optional interface{std::nullopt}; std::optional pid_file{std::nullopt}; std::optional op_exponent; -- cgit v1.2.3