From a30323f22f8fba7a22fc50f90050136fd5d980a2 Mon Sep 17 00:00:00 2001 From: Michal Stawinski Date: Fri, 24 Feb 2023 01:39:28 +0100 Subject: [PATCH] Fix "--client" option not working This fixes "Error: Invalid option: 172.17.0.1" error that made it impossible to use openrgb with remote servers. --- cli.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli.cpp b/cli.cpp index 96d7c3ed..ad3e2705 100644 --- a/cli.cpp +++ b/cli.cpp @@ -995,7 +995,6 @@ int ProcessOptions(int argc, char* argv[], Options* options, std::vectorGetClients().push_back(client); + cfg_args++; arg_index++; }