aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBrodi <[email protected]>2022-10-13 16:21:58 +0200
committerGitHub <[email protected]>2022-10-13 16:21:58 +0200
commit5d6e56b67cb3321ede2cc9fa8b44c3e82af830c9 (patch)
tree920bdbad2ceb3c01df32b69a3e76f2cb58821ae6
parent624303bfb934761518d601053bfb54cf0a73e0bd (diff)
downloadHyprland-5d6e56b67cb3321ede2cc9fa8b44c3e82af830c9.tar.gz
Hyprland-5d6e56b67cb3321ede2cc9fa8b44c3e82af830c9.zip
fix invalid json output by adding a missing comma
-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());