From 05da94f24c9a22b93723db1eecd86693ef16f18a Mon Sep 17 00:00:00 2001 From: Scott Wyant <29161635+scottmwyant@users.noreply.github.com> Date: Thu, 26 Mar 2026 21:40:37 -0400 Subject: [PATCH 1/3] Fix missing line break in usage text --- src/mtconnect/configuration/service.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mtconnect/configuration/service.cpp b/src/mtconnect/configuration/service.cpp index 1709937e7..4a2ad2fc9 100644 --- a/src/mtconnect/configuration/service.cpp +++ b/src/mtconnect/configuration/service.cpp @@ -46,9 +46,11 @@ namespace mtconnect { { printf( #ifndef _WINDOWS - "Usage: agent [help|daemonize|debug|run] [config-file]" + R"(Usage: agent [help|daemonize|debug|run] [config-file] +)" #else - "Usage: agent [help|install|remove|debug|run] [config-file]" + R"(Usage: agent [help|install|remove|debug|run] [config-file] +)" #endif R"( help Prints this message and exits version Prints the agent version and exits From a5aaa38a40e288345f93a12954c84bb8fc8a253d Mon Sep 17 00:00:00 2001 From: Scott Wyant <29161635+scottmwyant@users.noreply.github.com> Date: Thu, 26 Mar 2026 21:49:04 -0400 Subject: [PATCH 2/3] Fix up extra line break after 'remove' usage --- src/mtconnect/configuration/service.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mtconnect/configuration/service.cpp b/src/mtconnect/configuration/service.cpp index 4a2ad2fc9..ac83d4a3c 100644 --- a/src/mtconnect/configuration/service.cpp +++ b/src/mtconnect/configuration/service.cpp @@ -62,7 +62,6 @@ namespace mtconnect { #else R"( install Install the agent as a service. remove Removes the agent service. - )" #endif R"( debug Runs the agent on the command line with verbose logging From b134987981ab9c3b221655234acc3a5c73a08ecf Mon Sep 17 00:00:00 2001 From: Scott Wyant <29161635+scottmwyant@users.noreply.github.com> Date: Thu, 26 Mar 2026 21:57:12 -0400 Subject: [PATCH 3/3] Fixup formatting: remove whitespace --- src/mtconnect/configuration/service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mtconnect/configuration/service.cpp b/src/mtconnect/configuration/service.cpp index ac83d4a3c..e547d7f0c 100644 --- a/src/mtconnect/configuration/service.cpp +++ b/src/mtconnect/configuration/service.cpp @@ -61,7 +61,7 @@ namespace mtconnect { )" #else R"( install Install the agent as a service. - remove Removes the agent service. + remove Removes the agent service. )" #endif R"( debug Runs the agent on the command line with verbose logging