mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-08-17 09:10:24 +03:00
Hyprctrl: Use printf format specifiers for the usage string
This commit is contained in:
parent
0132e52b13
commit
58f13efa30
@ -132,7 +132,7 @@ int main(int argc, char** argv) {
|
||||
int bflag = 0, sflag = 0, index, c;
|
||||
|
||||
if (argc < 2) {
|
||||
printf(USAGE.c_str());
|
||||
printf("%s", USAGE.c_str());
|
||||
return 1;
|
||||
}
|
||||
|
||||
@ -146,7 +146,7 @@ int main(int argc, char** argv) {
|
||||
else if (!strcmp(argv[1], "keyword")) keywordRequest(argc, argv);
|
||||
else if (!strcmp(argv[1], "--batch")) batchRequest(argc, argv);
|
||||
else {
|
||||
printf(USAGE.c_str());
|
||||
printf("%s", USAGE.c_str());
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user