From b2bf0bb912454a380f297a9cb9501fe7dcde295e Mon Sep 17 00:00:00 2001 From: Ben Richard <143630488+benrichard-amd@users.noreply.github.com> Date: Tue, 1 Apr 2025 11:06:40 -0400 Subject: [PATCH] rocprof-sys-run: Change terminal color back to normal after printing usage (#155) * Change terminal color back to normal after printing usage * Format source --------- Co-authored-by: David Galiffi [ROCm/rocprofiler-systems commit: ee11f5b206b55ed97cf123bd601f6c18aa25cfe2] --- .../source/bin/rocprof-sys-run/rocprof-sys-run.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/rocprofiler-systems/source/bin/rocprof-sys-run/rocprof-sys-run.cpp b/projects/rocprofiler-systems/source/bin/rocprof-sys-run/rocprof-sys-run.cpp index a4eb8a6b76..1ccfc49a4f 100644 --- a/projects/rocprofiler-systems/source/bin/rocprof-sys-run/rocprof-sys-run.cpp +++ b/projects/rocprofiler-systems/source/bin/rocprof-sys-run/rocprof-sys-run.cpp @@ -52,7 +52,8 @@ main(int argc, char** argv) auto _print_usage = [argv]() { std::cerr << tim::log::color::fatal() << "Usage: " << argv[0] - << " -- " << std::endl; + << " -- " << tim::log::color::end() + << std::endl; }; if(argc == 1)