From 671f0a66f563ddbfaf1dfb834f8156584e637765 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Tue, 18 Aug 2026 18:46:00 -0500 Subject: [PATCH] Exit after listing profiles --- cli.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cli.cpp b/cli.cpp index b4d87e253..37bc469e8 100644 --- a/cli.cpp +++ b/cli.cpp @@ -991,6 +991,7 @@ int ProcessOptions(Options* options, std::vector& rgb_controlle else if(option == "--list-profiles" || option == "-lp") { OptionListProfiles(); + exit(0); } /*---------------------------------------------------------*\