aboutsummaryrefslogtreecommitdiffhomepage
path: root/hyprctl
diff options
context:
space:
mode:
authoralba4k <[email protected]>2022-06-17 22:02:57 +0200
committerGitHub <[email protected]>2022-06-17 22:02:57 +0200
commitfaa1b5a44fcfe7693838fa3d7ccc9e6b64480b2f (patch)
treed4cdb64302db7e9696aae0ba9deeb849d50dcbc3 /hyprctl
parent9c6c5481bbf094f54ea7b9aaa9f941d50b57d6a0 (diff)
downloadHyprland-faa1b5a44fcfe7693838fa3d7ccc9e6b64480b2f.tar.gz
Hyprland-faa1b5a44fcfe7693838fa3d7ccc9e6b64480b2f.zip
Update main.cpp
Diffstat (limited to 'hyprctl')
-rw-r--r--hyprctl/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/hyprctl/main.cpp b/hyprctl/main.cpp
index 278ef5ee..f60fb600 100644
--- a/hyprctl/main.cpp
+++ b/hyprctl/main.cpp
@@ -134,7 +134,7 @@ int main(int argc, char** argv) {
else if (!strcmp(argv[1], "dispatch")) dispatchRequest(argc, argv);
else if (!strcmp(argv[1], "keyword")) keywordRequest(argc, argv);
else if (!strcmp(argv[1], "--batch")) batchRequest(argc, argv);
- else if (!strcmp(argv[1], "--help")) printf(USAGE.c_str());
+ else if (!strcmp(argv[1], "--help")) printf("%s", USAGE.c_str());
else {
printf("%s\n", USAGE.c_str());
return 1;
@@ -142,4 +142,4 @@ int main(int argc, char** argv) {
printf("\n");
return 0;
-} \ No newline at end of file
+}