summaryrefslogtreecommitdiff
path: root/src/debug/HyprCtl.cpp
diff options
context:
space:
mode:
authorBrodi <69462234+brodi1@users.noreply.github.com>2022-10-13 16:21:58 +0200
committerGitHub <noreply@github.com>2022-10-13 16:21:58 +0200
commit5d6e56b67cb3321ede2cc9fa8b44c3e82af830c9 (patch)
tree920bdbad2ceb3c01df32b69a3e76f2cb58821ae6 /src/debug/HyprCtl.cpp
parent624303bfb934761518d601053bfb54cf0a73e0bd (diff)
fix invalid json output by adding a missing comma
Diffstat (limited to 'src/debug/HyprCtl.cpp')
-rw-r--r--src/debug/HyprCtl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp
index c602ab31..8278c36e 100644
--- a/src/debug/HyprCtl.cpp
+++ b/src/debug/HyprCtl.cpp
@@ -499,7 +499,7 @@ std::string versionRequest(HyprCtl::eHyprCtlOutputFormat format) {
R"#({
"branch": "%s",
"commit": "%s",
- "dirty": %s
+ "dirty": %s,
"commit_message": "%s",
"flags": [)#", GIT_BRANCH, GIT_COMMIT_HASH, (strcmp(GIT_DIRTY, "dirty") == 0 ? "true" : "false"), removeBeginEndSpacesTabs(GIT_COMMIT_MESSAGE).c_str());